From d359075c64f93765d861609715a435e099cdf920 Mon Sep 17 00:00:00 2001 From: papush! Date: Mon, 10 Jan 2022 00:14:17 +0100 Subject: [PATCH] stop updating values continuously as sliders are dragged --- src/double_input.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/double_input.cpp b/src/double_input.cpp index d70f64f..bef2d87 100644 --- a/src/double_input.cpp +++ b/src/double_input.cpp @@ -46,6 +46,7 @@ DoubleInput::DoubleInput(QObject *parent, double min, double max, _spin_box->setValue(value); _slider->setMaximum(_slider_resolution); _slider->setValue(doubleToInt(value)); + _slider->setTracking(false); connect(_slider, &QSlider::valueChanged, this, &DoubleInput::onSliderValueChanged); connect(_spin_box, QOverload::of(&QDoubleSpinBox::valueChanged),