Fix crash when on startup when registering new tab

This commit is contained in:
WarmUpTill
2024-04-26 23:19:45 +02:00
committed by WarmUpTill
parent 5cba948e02
commit d136bf5561

View File

@@ -370,6 +370,10 @@ void AdvSceneSwitcher::CheckFirstTimeSetup()
void AdvSceneSwitcher::on_tabWidget_currentChanged(int)
{
if (loading) {
return;
}
switcher->showFrame = false;
ClearFrames(ui->screenRegionSwitches);
SetShowFrames();