mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Disable undo command system
This commit is contained in:
@@ -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