Showing the changes to interface/src/ui/ScriptEditorWindow.cpp (1 of 3 files). Show all
Unified · Split
| @@ -34,7 +34,7 @@ ScriptEditorWindow::ScriptEditorWindow() : · 33 unmodified lines | |||
| 34 | _saveMenu(new QMenu) | 34 | _saveMenu(new QMenu) |
| 35 | { | 35 | { |
| 36 | _ScriptEditorWindowUI->setupUi(this); | 36 | _ScriptEditorWindowUI->setupUi(this); |
| 37 | this->setWindowFlags(Qt::Tool | Qt::WindowStaysOnTopHint); | 37 | this->setWindowFlags(Qt::Tool); |
| 38 | show(); | 38 | show(); |
| 39 | addScriptEditorWidget("New script"); | 39 | addScriptEditorWidget("New script"); |
| 40 | connect(_loadMenu, SIGNAL(aboutToShow()), this, SLOT(loadMenuAboutToShow())); | 40 | connect(_loadMenu, SIGNAL(aboutToShow()), this, SLOT(loadMenuAboutToShow())); |
| @@ -206,5 +206,6 @@ void ScriptEditorWindow::updateScriptNameOrStatus() { · 165 unmodified lines | |||
| 206 | void ScriptEditorWindow::terminateCurrentTab() { | 206 | void ScriptEditorWindow::terminateCurrentTab() { |
| 207 | if (_ScriptEditorWindowUI->tabWidget->currentIndex() != -1) { | 207 | if (_ScriptEditorWindowUI->tabWidget->currentIndex() != -1) { |
| 208 | _ScriptEditorWindowUI->tabWidget->removeTab(_ScriptEditorWindowUI->tabWidget->currentIndex()); | 208 | _ScriptEditorWindowUI->tabWidget->removeTab(_ScriptEditorWindowUI->tabWidget->currentIndex()); |
| 209 | this->raise(); | ||
| 209 | } | 210 | } |
| 210 | } | 211 | } |