fix segmentation fault when caling setupWithoutGUI
This commit is contained in:
parent
43aae3db37
commit
537cfb2d48
|
@ -453,8 +453,10 @@ Application::Application(bool GUIenabled)
|
|||
// instanciate the workbench dictionary
|
||||
_pcWorkbenchDictionary = PyDict_New();
|
||||
|
||||
createStandardOperations();
|
||||
MacroCommand::load();
|
||||
if (GUIenabled) {
|
||||
createStandardOperations();
|
||||
MacroCommand::load();
|
||||
}
|
||||
ObjectLabelObserver::instance();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user