Reopen last opened tab in current session

Will reset to General tab on startup / scene collection change
This commit is contained in:
WarmUpTill
2022-02-04 22:13:36 +01:00
committed by WarmUpTill
parent 0effbd8ace
commit 1328896801
4 changed files with 14 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ public:
void setupNetworkTab();
void setupMacroTab();
void setTabOrder();
void setCurrentTab();
void restoreWindowGeo();
void checkFirstTimeSetup();

View File

@@ -77,6 +77,7 @@ struct SwitcherData {
SwitcherThread *th = nullptr;
bool settingsWindowOpened = false;
int lastOpenedTab = -1;
bool firstBoot = true;
std::condition_variable cv;