diff --git a/app/gui/oven_control/slider.cpp b/app/gui/oven_control/slider.cpp index befdcf3..07cbd16 100644 --- a/app/gui/oven_control/slider.cpp +++ b/app/gui/oven_control/slider.cpp @@ -263,11 +263,12 @@ void Slider::updatePixmapPosition() void Slider::setValue(int value) { value = qBound(minimum_, value, maximum_); - if (value == value_) - return; setSliderPosition(value); + if (value == value_) + return; + value_ = value; emit valueChanged(value);