From 97dc0acff2556f47187e2ca15bb4a62be477caaa Mon Sep 17 00:00:00 2001 From: bieber Date: Mon, 14 Jun 2010 06:47:05 +0000 Subject: [PATCH] Theme Editor: Made new tabs raise to forefront git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26840 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/editorwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/themeeditor/editorwindow.cpp b/utils/themeeditor/editorwindow.cpp index 035fe57f2..93cf3641f 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) -- 2.11.4.GIT