Commit d5ad196eb5a1eb36ed1380a0fb6d2b13f6bf2cd1
1 parent
e161e8d403
Exists in
master
and in
2 other branches
슬라이더 동작 개선
Showing
1 changed file
with
3 additions
and
2 deletions
Show diff stats
app/gui/oven_control/slider.cpp
... | ... | @@ -263,11 +263,12 @@ void Slider::updatePixmapPosition() |
263 | 263 | void Slider::setValue(int value) |
264 | 264 | { |
265 | 265 | value = qBound(minimum_, value, maximum_); |
266 | - if (value == value_) | |
267 | - return; | |
268 | 266 | |
269 | 267 | setSliderPosition(value); |
270 | 268 | |
269 | + if (value == value_) | |
270 | + return; | |
271 | + | |
271 | 272 | value_ = value; |
272 | 273 | |
273 | 274 | emit valueChanged(value); | ... | ... |