1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/apps/opencs/view/world/globals.cpp

15 lines
324 B
C++
Raw Normal View History

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