From 29872b5dfaac4263f181280cd299d3203ff3f23d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 21 Jun 2016 11:51:36 +0200 Subject: filter/ewma: update labels before they're modified --- filter-ewma2/ftnoir_filter_ewma2_dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp b/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp index fca1d0ff..8e69573e 100644 --- a/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp +++ b/filter-ewma2/ftnoir_filter_ewma2_dialog.cpp @@ -28,6 +28,8 @@ FilterControls::FilterControls() connect(ui.maxSmooth, &QSlider::valueChanged, this, [&](int v) -> void { if (ui.minSmooth->value() > v) ui.minSmooth->setValue(v); }); + + update_labels(0); } void FilterControls::doOK() -- cgit v1.2.3