summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/themeeditor/editorwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/editorwindow.cpp b/utils/themeeditor/editorwindow.cpp
index 035fe57f2d..93cf3641f0 100644
--- a/utils/themeeditor/editorwindow.cpp
+++ b/utils/themeeditor/editorwindow.cpp
@@ -57,6 +57,7 @@ void EditorWindow::loadTabFromFile(QString fileName)
57 /* Adding a new document*/ 57 /* Adding a new document*/
58 SkinDocument* doc = new SkinDocument(parseStatus, fileName); 58 SkinDocument* doc = new SkinDocument(parseStatus, fileName);
59 addTab(doc); 59 addTab(doc);
60 ui->editorTabs->setCurrentWidget(doc);
60 61
61} 62}
62 63
@@ -169,6 +170,7 @@ void EditorWindow::newTab()
169{ 170{
170 SkinDocument* doc = new SkinDocument(parseStatus); 171 SkinDocument* doc = new SkinDocument(parseStatus);
171 addTab(doc); 172 addTab(doc);
173 ui->editorTabs->setCurrentWidget(doc);
172} 174}
173 175
174void EditorWindow::shiftTab(int index) 176void EditorWindow::shiftTab(int index)