1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-11 09:36:37 +00:00
OpenMW/apps/opencs/view/world/globals.cpp
2012-12-03 21:44:16 +01:00

15 lines
324 B
C++

#include "globals.hpp"
#include "table.hpp"
CSVWorld::Globals::Globals (const CSMWorld::UniversalId& id, CSMWorld::Data& data, QUndoStack& undoStack)
: SubView (id)
{
setWidget (mTable = new Table (id, data, undoStack, true));
}
void CSVWorld::Globals::setEditLock (bool locked)
{
mTable->setEditLock (locked);
}