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 | 34 | _saveMenu(new QMenu) |
| 35 | 35 | { |
| 36 | 36 | _ScriptEditorWindowUI->setupUi(this); |
| 37 | − this->setWindowFlags(Qt::Tool | Qt::WindowStaysOnTopHint); | |
| 37 | + this->setWindowFlags(Qt::Tool); | |
| 38 | 38 | show(); |
| 39 | 39 | addScriptEditorWidget("New script"); |
| 40 | 40 | connect(_loadMenu, SIGNAL(aboutToShow()), this, SLOT(loadMenuAboutToShow())); |
| @@ -206,5 +206,6 @@ void ScriptEditorWindow::updateScriptNameOrStatus() { · 165 unmodified lines | ||
| 206 | 206 | void ScriptEditorWindow::terminateCurrentTab() { |
| 207 | 207 | if (_ScriptEditorWindowUI->tabWidget->currentIndex() != -1) { |
| 208 | 208 | _ScriptEditorWindowUI->tabWidget->removeTab(_ScriptEditorWindowUI->tabWidget->currentIndex()); |
| 209 | + this->raise(); | |
| 209 | 210 | } |
| 210 | 211 | } |