1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 13:23:52 +00:00

disabled revert for info tables (no easy way to make this work)

This commit is contained in:
Marc Zinnschlag 2013-11-14 11:55:02 +01:00
parent d49b8e7443
commit a44fad4c59

View file

@ -33,6 +33,9 @@ void CSVWorld::Table::contextMenuEvent (QContextMenuEvent *event)
if (mCreateAction) if (mCreateAction)
menu.addAction (mCreateAction); menu.addAction (mCreateAction);
/// \todo Reverting temporarily disabled on tables that support reordering, because
/// revert logic currently can not handle reordering.
if (mModel->getReordering()==CSMWorld::IdTable::Reordering_None)
if (listRevertableSelectedIds().size()>0) if (listRevertableSelectedIds().size()>0)
menu.addAction (mRevertAction); menu.addAction (mRevertAction);