Fix bug with ColorWheel updating

This commit is contained in:
Adam Honse committed 2020-06-07 17:58:55 -05:00
1 parent 5b8441c57d
commit f612ca8bdc
1 file changed
+5
+5
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());