Showing the changes to interface/src/ui/ScriptEditorWidget.cpp (1 of 3 files). Show all
Unified · Split
| @@ -126,7 +126,7 @@ void ScriptEditorWidget::loadFile(const QString& scriptPath) { · 125 unmodified lines | ||
| 126 | 126 | loop.exec(); |
| 127 | 127 | _scriptEditorWidgetUI->scriptEdit->setPlainText(reply->readAll()); |
| 128 | 128 | if (!saveAs()) { |
| 129 | − emit static_cast<ScriptEditorWindow*>(this->parent()->parent()->parent())->terminateCurrentTab(); | |
| 129 | + static_cast<ScriptEditorWindow*>(this->parent()->parent()->parent())->terminateCurrentTab(); | |
| 130 | 130 | } |
| 131 | 131 | } |
| 132 | 132 | |