diff --git a/qt/OpenRGBDevicePage/OpenRGBDevicePage.cpp b/qt/OpenRGBDevicePage/OpenRGBDevicePage.cpp index 9c3e6fe55..e93af5c36 100644 --- a/qt/OpenRGBDevicePage/OpenRGBDevicePage.cpp +++ b/qt/OpenRGBDevicePage/OpenRGBDevicePage.cpp @@ -772,6 +772,11 @@ void OpenRGBDevicePage::UpdateLEDUi() bool selected_all_leds = false; int selected_led = -1; + /*-----------------------------------------*\ + | Update Device View | + \*-----------------------------------------*/ + ui->DeviceViewBox->repaint(); + /*-----------------------------------------*\ | Handle selection of "Entire Device/Zone/ | | Segment" index is selected | @@ -981,10 +986,6 @@ void OpenRGBDevicePage::UpdateLEDUi() UpdateColorUi(); } - /*-----------------------------------------*\ - | Update Device View | - \*-----------------------------------------*/ - ui->DeviceViewBox->repaint(); } break; @@ -2009,9 +2010,9 @@ void OpenRGBDevicePage::UpdateInterface(unsigned int update_reason) case RGBCONTROLLER_UPDATE_REASON_UPDATELEDS: /*-------------------------------------------------*\ - | Update LED UI | + | Update Device View | \*-------------------------------------------------*/ - UpdateLEDUi(); + ui->DeviceViewBox->repaint(); break; case RGBCONTROLLER_UPDATE_REASON_UPDATEMODE: