mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 22:23:52 +00:00
store undoStack in the nestedtable
This commit is contained in:
parent
c96d48fb91
commit
6dc199743c
2 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,8 @@
|
|||
CSVWorld::NestedTable::NestedTable(QUndoStack& undoStack,
|
||||
CSMWorld::NestedTableModel* model,
|
||||
QWidget* parent)
|
||||
: QTableView(parent)
|
||||
: QTableView(parent),
|
||||
mUndoStack(undoStack)
|
||||
{
|
||||
|
||||
setSelectionBehavior (QAbstractItemView::SelectRows);
|
||||
|
|
|
@ -26,6 +26,7 @@ namespace CSVWorld
|
|||
|
||||
QAction *mAddNewRowAction;
|
||||
QAction *mRemoveRowAction;
|
||||
QUndoStack& mUndoStack;
|
||||
|
||||
public:
|
||||
NestedTable(QUndoStack& undoStack,
|
||||
|
|
Loading…
Reference in a new issue