Show all feature tabs when setup wizard is skipped
Some checks failed
debian-build / build (push) Has been cancelled
Push to master / Check Formatting 🔍 (push) Has been cancelled
Push to master / Build Project 🧱 (push) Has been cancelled
Push to master / Create Release 🛫 (push) Has been cancelled

This commit is contained in:
WarmUpTill
2026-05-02 15:21:40 +02:00
committed by WarmUpTill
parent 4f3d9e3a00
commit 873e073eb6
3 changed files with 12 additions and 3 deletions

View File

@@ -391,12 +391,16 @@ void AdvSceneSwitcher::CheckFirstTimeSetup()
return;
}
auto macro = FirstRunWizard::ShowWizard(this);
bool wasSkipped = false;
auto macro = FirstRunWizard::ShowWizard(this, &wasSkipped);
if (macro) {
renameMacroIfNecessary(macro);
QTimer::singleShot(0, this,
[this, macro]() { ui->macros->Add(macro); });
}
if (wasSkipped) {
ui->alwaysShowFeatureTabs->setChecked(true);
}
switcher->Start();
}