mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-19 12:37:52 -05:00
Added led amount condition for toggleledview
This commit is contained in:
@@ -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