2012-11-26 12:29:22 +01:00
|
|
|
|
|
|
|
#include "globals.hpp"
|
|
|
|
|
2012-11-29 19:09:06 +01:00
|
|
|
#include "table.hpp"
|
2012-11-29 16:05:28 +01:00
|
|
|
|
|
|
|
CSVWorld::Globals::Globals (const CSMWorld::UniversalId& id, CSMWorld::Data& data, QUndoStack& undoStack)
|
2012-11-26 12:29:22 +01:00
|
|
|
: SubView (id)
|
|
|
|
{
|
2012-12-03 21:44:16 +01:00
|
|
|
setWidget (mTable = new Table (id, data, undoStack, true));
|
2012-11-30 13:58:10 +01:00
|
|
|
}
|
2012-11-26 12:29:22 +01:00
|
|
|
|
2012-11-30 13:58:10 +01:00
|
|
|
void CSVWorld::Globals::setEditLock (bool locked)
|
|
|
|
{
|
|
|
|
mTable->setEditLock (locked);
|
2012-11-26 12:29:22 +01:00
|
|
|
}
|