Fix wheel color changing when setting all devices

This commit is contained in:
Adam Honse committed 2020-06-07 18:01:48 -05:00
1 parent f612ca8bdc
commit e086ecd0bb
1 file changed
+3 -2
+3 -2
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());