summaryrefslogtreecommitdiff
path: root/plugingui/maintab.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-23 19:15:30 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-23 19:16:03 +0200
commit39fdeb37b1f232d4243dc4cf00e4d8f4f6767495 (patch)
tree67aa3a0e03e8d68e51eb410e388c94e9c5fd1b6d /plugingui/maintab.cc
parent01b663413f22b59c139d69ab00a3cc5a03a32c76 (diff)
Set humanizer frame switch to value of settings.
Diffstat (limited to 'plugingui/maintab.cc')
-rw-r--r--plugingui/maintab.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/maintab.cc b/plugingui/maintab.cc
index 54a22d5..73bae48 100644
--- a/plugingui/maintab.cc
+++ b/plugingui/maintab.cc
@@ -72,6 +72,8 @@ MainTab::MainTab(Widget* parent,
humanizer_frame.setContent(&humanizerframe_content);
diskstreaming_frame.setContent(&diskstreamingframe_content);
+ humanizer_frame.setOnSwitch(settings.enable_velocity_modifier);
+
CONNECT(this, settings_notifier.enable_velocity_modifier,
&humanizer_frame, &FrameWidget::setOnSwitch);
CONNECT(&humanizer_frame, onSwitchChangeNotifier,