Fix errors in updating device list when hidden devices exist

This commit is contained in:
Adam Honse
2026-07-30 16:49:59 -05:00
parent 7b1817a0b8
commit 1cd9b63c3e
+2 -1
View File
@@ -1038,8 +1038,8 @@ void OpenRGBDialog::UpdateDevicesList()
\*-------------------------------------*/
else
{
ui->DevicesTabBar->tabBar()->moveTab(tab_idx, controller_tab_count);
controller_tab_count++;
ui->DevicesTabBar->tabBar()->moveTab(tab_idx, controller_idx);
}
break;
}
@@ -1278,6 +1278,7 @@ void OpenRGBDialog::UpdateDevicesList()
}
bool found = true;
base_tab = controllers.size();
while(found)
{