From 39fdeb37b1f232d4243dc4cf00e4d8f4f6767495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sun, 23 Apr 2017 19:15:30 +0200 Subject: Set humanizer frame switch to value of settings. --- plugingui/maintab.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugingui') 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, -- cgit v1.2.3