LED view selection should have no effect if not in per-LED mode
This commit is contained in:
parent
4b7422e85c
commit
8d5d109eb8
1 changed files with 29 additions and 26 deletions
|
|
@ -1358,6 +1358,8 @@ void Ui::OpenRGBDevicePage::on_ValSpinBox_valueChanged(int val)
|
|||
|
||||
void Ui::OpenRGBDevicePage::on_DeviceViewBox_selectionChanged(QVector<int> indices)
|
||||
{
|
||||
if(device->modes[device->active_mode].color_mode == MODE_COLORS_PER_LED)
|
||||
{
|
||||
ui->ZoneBox->blockSignals(true);
|
||||
ui->LEDBox->blockSignals(true);
|
||||
ui->ZoneBox->setCurrentIndex(0);
|
||||
|
|
@ -1396,6 +1398,7 @@ void Ui::OpenRGBDevicePage::on_DeviceViewBox_selectionChanged(QVector<int> indic
|
|||
ui->LEDBox->setCurrentIndex(0);
|
||||
}
|
||||
ui->LEDBox->blockSignals(false);
|
||||
}
|
||||
}
|
||||
|
||||
void Ui::OpenRGBDevicePage::on_SetAllButton_clicked()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue