mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-31 05:35:36 -05:00
Rework MacroRef
This should resolve issues of macro names / selections not properly updating after renaming / grouping / un-grouping macros
This commit is contained in:
@@ -39,8 +39,9 @@ void MacroSelection::MacroAdd(const QString &name)
|
||||
addItem(name);
|
||||
}
|
||||
|
||||
void MacroSelection::SetCurrentMacro(Macro *m)
|
||||
void MacroSelection::SetCurrentMacro(const MacroRef ¯o)
|
||||
{
|
||||
auto m = macro.GetMacro();
|
||||
if (!m) {
|
||||
this->setCurrentIndex(0);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user