mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-06-23 21:15:22 -05:00
Fix HideSelectedMacro() hiding the incorrect index
This commit is contained in:
parent
e2f4dcaaee
commit
e30a4623c5
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user