Showing the changes to interface/src/ui/ScriptEditorWidget.cpp (1 of 4 files). Show all
Unified · Split
| @@ -71,7 +71,7 @@ bool ScriptEditorWidget::setRunning(bool run) { · 70 unmodified lines | ||
| 71 | 71 | disconnect(this, SLOT(onScriptPrint(const QString&))); |
| 72 | 72 | |
| 73 | 73 | if (run) { |
| 74 | − _scriptEngine = Application::getInstance()->loadScript(_currentScript, false); | |
| 74 | + _scriptEngine = Application::getInstance()->loadScript(_currentScript, true); | |
| 75 | 75 | connect(_scriptEngine, SIGNAL(runningStateChanged()), this, SIGNAL(runningStateChanged())); |
| 76 | 76 | |
| 77 | 77 | // Make new connections. |