Disable undo command system

This commit is contained in:
Magne Sjaastad
2015-08-25 08:41:26 +02:00
parent 556e3f375c
commit d0ab927161

View File

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