Fix wheel color changing when setting all devices
This commit is contained in:
parent
f612ca8bdc
commit
e086ecd0bb
1 changed files with 3 additions and 2 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue