1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-12 21:39:26 +00:00
OpenMW/apps/opencs/view/world/tablesubview.cpp

16 lines
381 B
C++
Raw Normal View History

#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);
}