mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Disable undo command system
This commit is contained in:
1 parent
556e3f375c
commit
d0ab927161
1 file changed
+3
-1
@@ -129,7 +129,9 @@ RiuMainWindow::RiuMainWindow()
|
||||
// Set pdm root so scripts are displayed
|
||||
setPdmRoot(RiaApplication::instance()->project());
|
||||
|
||||
caf::CmdExecCommandManager::instance()->enableUndoCommandSystem(true);
|
||||
// Enabling the line below will activate the undo stack
|
||||
// When enableUndoCommandSystem is set false, all commands are executed and deleted immediately
|
||||
//caf::CmdExecCommandManager::instance()->enableUndoCommandSystem(true);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user