summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-04 05:09:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-04 05:09:57 +0200
commit129948322c5824fc058ab6ef585a6b5f4743642f (patch)
treed9453751851267a4f572ba70f65426190268f18b
parentab742baa98af0d8632d9fceafd3fd8fc7f8ceb8e (diff)
accela: display smallest available slider value in label properly
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
index 550c9d24..52c8318a 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
@@ -23,6 +23,12 @@ FilterControls::FilterControls() :
tie_setting(s.ewma, ui.ewma_slider);
tie_setting(s.rot_deadzone, ui.rot_dz_slider);
tie_setting(s.trans_deadzone, ui.trans_dz_slider);
+
+ update_rot_display(ui.rotation_slider->value());
+ update_trans_display(ui.translation_slider->value());
+ update_ewma_display(ui.ewma_slider->value());
+ update_rot_dz_display(ui.rot_dz_slider->value());
+ update_trans_dz_display(ui.trans_dz_slider->value());
}
void FilterControls::register_filter(IFilter* filter)