mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 09:05:57 -05:00
Reopen last opened tab in current session
Will reset to General tab on startup / scene collection change
This commit is contained in:
@@ -39,6 +39,7 @@ AdvSceneSwitcher::~AdvSceneSwitcher()
|
||||
{
|
||||
if (switcher) {
|
||||
switcher->settingsWindowOpened = false;
|
||||
switcher->lastOpenedTab = ui->tabWidget->currentIndex();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,6 +87,7 @@ void AdvSceneSwitcher::loadUI()
|
||||
setupMacroTab();
|
||||
|
||||
setTabOrder();
|
||||
setCurrentTab();
|
||||
restoreWindowGeo();
|
||||
checkFirstTimeSetup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user