diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-14 06:47:05 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-14 06:47:05 +0000 |
commit | 44c122b43cf8a4fb69713740d0d61bd42a3acfbb (patch) | |
tree | 25a7c7e357eb36d7f73ce1b62215f1b35664187c /utils | |
parent | 046832c821276cb07b86519ab3c0dae4ff68173d (diff) |
Theme Editor: Made new tabs raise to forefront
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26840 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils')
-rw-r--r-- | utils/themeeditor/editorwindow.cpp | 2 |
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) /* Adding a new document*/ SkinDocument* doc = new SkinDocument(parseStatus, fileName); addTab(doc); + ui->editorTabs->setCurrentWidget(doc); } @@ -169,6 +170,7 @@ void EditorWindow::newTab() { SkinDocument* doc = new SkinDocument(parseStatus); addTab(doc); + ui->editorTabs->setCurrentWidget(doc); } void EditorWindow::shiftTab(int index) |