Fix macro splitter position not saving when switching to empty selection

This commit is contained in:
WarmUpTill
2023-09-11 21:36:20 +02:00
committed by WarmUpTill
parent 41e47f32b6
commit 24f4b864c4

View File

@@ -676,6 +676,10 @@ void AdvSceneSwitcher::MacroSelectionAboutToChange()
return;
}
if (!ui->macroName->isEnabled()) { // No macro is selected
return;
}
auto macro = GetMacroByQString(ui->macroName->text());
if (!macro) {
return;