From 1cd9b63c3e854d963e1a3e826f6ebdf3fd6511c2 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Thu, 30 Jul 2026 16:49:59 -0500 Subject: [PATCH] Fix errors in updating device list when hidden devices exist --- qt/OpenRGBDialog/OpenRGBDialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qt/OpenRGBDialog/OpenRGBDialog.cpp b/qt/OpenRGBDialog/OpenRGBDialog.cpp index 7679277be..89705c94b 100644 --- a/qt/OpenRGBDialog/OpenRGBDialog.cpp +++ b/qt/OpenRGBDialog/OpenRGBDialog.cpp @@ -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) {