From d5ad196eb5a1eb36ed1380a0fb6d2b13f6bf2cd1 Mon Sep 17 00:00:00 2001 From: victor Date: Wed, 14 Jun 2017 16:41:29 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=AC=EB=9D=BC=EC=9D=B4=EB=8D=94=20?= =?UTF-8?q?=EB=8F=99=EC=9E=91=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gui/oven_control/slider.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.1.4