mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-15 14:47:14 -04:00
Added led amount condition for toggleledview
This commit is contained in:
1 parent
a084fad82d
commit
4aa4bd3a42
1 file changed
+1
-1
@@ -1536,7 +1536,7 @@ void Ui::OpenRGBDevicePage::ShowDeviceView()
|
||||
|
||||
DeviceViewShowing = true;
|
||||
|
||||
if(device->modes[selected_mode].flags & MODE_FLAG_HAS_PER_LED_COLOR)
|
||||
if(device->modes[selected_mode].flags & MODE_FLAG_HAS_PER_LED_COLOR && device->leds.size() >= 1)
|
||||
{
|
||||
ui->DeviceViewBoxFrame->show();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user