diff --git a/app/gui/oven_control/slider.cpp b/app/gui/oven_control/slider.cpp index c20b2f9..78e41b5 100644 --- a/app/gui/oven_control/slider.cpp +++ b/app/gui/oven_control/slider.cpp @@ -174,11 +174,13 @@ void Slider::mouseMoveEvent(QMouseEvent *event) setSliderPosition(calcSliderPosition(event->x())); } -void Slider::mousePressEvent(QMouseEvent */*event*/) +void Slider::mousePressEvent(QMouseEvent *event) { isSliderDown_ = true; emit sliderPressed(); + + setSliderPosition(calcSliderPosition(event->x())); } void Slider::mouseReleaseEvent(QMouseEvent */*event*/)