Fix wheel color changing when setting all devices

This commit is contained in:
Adam Honse 2020-06-07 18:01:48 -05:00
parent f612ca8bdc
commit e086ecd0bb

View file

@ -628,7 +628,8 @@ void Ui::OpenRGBDevicePage::SetDevice(unsigned char red, unsigned char green, un
ui->BlueSpinBox->setValue(blue);
UpdatingColor = false;
updateHSV();
updateWheel();
on_SetDeviceButton_clicked();
}
@ -861,7 +862,7 @@ void Ui::OpenRGBDevicePage::on_ColorWheelBox_colorChanged(const QColor color)
{
return;
}
UpdatingColor = true;
ui->RedSpinBox->setValue(color.red());
ui->GreenSpinBox->setValue(color.green());