From f612ca8bdc3bfe68d135f0c49a75f9cbf49aed20 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sun, 7 Jun 2020 17:58:55 -0500 Subject: [PATCH] Fix bug with ColorWheel updating --- qt/OpenRGBDevicePage.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qt/OpenRGBDevicePage.cpp b/qt/OpenRGBDevicePage.cpp index 56090dacb..5519d3b07 100644 --- a/qt/OpenRGBDevicePage.cpp +++ b/qt/OpenRGBDevicePage.cpp @@ -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());