mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-01 22:25:36 -05:00
Fix HideSelectedMacro() hiding the incorrect index
This commit is contained in:
@@ -64,8 +64,8 @@ void MacroSelection::HideSelectedMacro()
|
||||
if (idx == -1) {
|
||||
return;
|
||||
}
|
||||
// +1 for "select macro" entry
|
||||
qobject_cast<QListView *>(view())->setRowHidden(idx + 1, true);
|
||||
|
||||
qobject_cast<QListView *>(view())->setRowHidden(idx, true);
|
||||
}
|
||||
|
||||
void MacroSelection::ShowAllMacros()
|
||||
|
||||
Reference in New Issue
Block a user