Fix bug with ColorWheel updating

This commit is contained in:
Adam Honse
2020-06-07 17:58:55 -05:00
parent 5b8441c57d
commit f612ca8bdc

View File

@@ -857,6 +857,11 @@ void Ui::OpenRGBDevicePage::on_ButtonMagenta_clicked()
void Ui::OpenRGBDevicePage::on_ColorWheelBox_colorChanged(const QColor color)
{
if(UpdatingColor)
{
return;
}
UpdatingColor = true;
ui->RedSpinBox->setValue(color.red());
ui->GreenSpinBox->setValue(color.green());