summaryrefslogtreecommitdiffhomepage
path: root/filter-ewma2
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-21 11:51:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-21 11:51:36 +0200
commit29872b5dfaac4263f181280cd299d3203ff3f23d (patch)
treee49b094f643ea690dc10109fa4adb4f5d20bba12 /filter-ewma2
parentdee8de57ad54c0c1cf46b63066de571c8cb98470 (diff)
filter/ewma: update labels before they're modified
Diffstat (limited to 'filter-ewma2')
-rw-r--r--filter-ewma2/ftnoir_filter_ewma2_dialog.cpp2
1 files changed, 2 insertions, 0 deletions
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()