forked from len0rd/rockbox
Theme Editor: Made new tabs raise to forefront
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26840 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
046832c821
commit
44c122b43c
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,7 @@ void EditorWindow::loadTabFromFile(QString fileName)
|
||||||
/* Adding a new document*/
|
/* Adding a new document*/
|
||||||
SkinDocument* doc = new SkinDocument(parseStatus, fileName);
|
SkinDocument* doc = new SkinDocument(parseStatus, fileName);
|
||||||
addTab(doc);
|
addTab(doc);
|
||||||
|
ui->editorTabs->setCurrentWidget(doc);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,6 +170,7 @@ void EditorWindow::newTab()
|
||||||
{
|
{
|
||||||
SkinDocument* doc = new SkinDocument(parseStatus);
|
SkinDocument* doc = new SkinDocument(parseStatus);
|
||||||
addTab(doc);
|
addTab(doc);
|
||||||
|
ui->editorTabs->setCurrentWidget(doc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EditorWindow::shiftTab(int index)
|
void EditorWindow::shiftTab(int index)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue