1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 04:45:33 +00:00
openmw-tes3mp/apps/opencs/view/world/tablesubview.cpp

16 lines
No EOL
381 B
C++

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