Fix MacroSelection not properly unhiding first macro in selection

This commit is contained in:
WarmUpTill
2024-08-15 23:55:36 +02:00
committed by WarmUpTill
parent 6ec40ef8e9
commit c969b21f93

View File

@@ -68,7 +68,7 @@ void MacroSelection::HideSelectedMacro()
void MacroSelection::ShowAllMacros()
{
auto v = qobject_cast<QListView *>(view());
for (int i = count(); i > 0; i--) {
for (int i = count() - 1; i >= 0; i--) {
v->setRowHidden(i, false);
}
}