Commit 95ae17c5 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Hide scripting dock in CampvisApplication / MainWindow when scripting module is not present.

parent 2e7b93c5
...@@ -135,6 +135,8 @@ namespace campvis { ...@@ -135,6 +135,8 @@ namespace campvis {
_scriptingConsoleWidget = new ScriptingWidget(this); _scriptingConsoleWidget = new ScriptingWidget(this);
ui.scriptingConsoleDock->setWidget(_scriptingConsoleWidget); ui.scriptingConsoleDock->setWidget(_scriptingConsoleWidget);
connect(_scriptingConsoleWidget, SIGNAL(s_commandExecuted(const QString&)), this, SLOT(onLuaCommandExecuted(const QString&))); connect(_scriptingConsoleWidget, SIGNAL(s_commandExecuted(const QString&)), this, SLOT(onLuaCommandExecuted(const QString&)));
#else
ui.scriptingConsoleDock->setVisible(false);
#endif #endif
_dcInspectorWidget = new DataContainerInspectorWidget(); _dcInspectorWidget = new DataContainerInspectorWidget();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment