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 | disconnect(this, SLOT(onScriptPrint(const QString&))); | 71 | disconnect(this, SLOT(onScriptPrint(const QString&))); |
| 72 | 72 | ||
| 73 | if (run) { | 73 | if (run) { |
| 74 | _scriptEngine = Application::getInstance()->loadScript(_currentScript, false); | 74 | _scriptEngine = Application::getInstance()->loadScript(_currentScript, true); |
| 75 | connect(_scriptEngine, SIGNAL(runningStateChanged()), this, SIGNAL(runningStateChanged())); | 75 | connect(_scriptEngine, SIGNAL(runningStateChanged()), this, SIGNAL(runningStateChanged())); |
| 76 | 76 | ||
| 77 | // Make new connections. | 77 | // Make new connections. |