handle blink-rec-arm change without application restart
authorRobin Gareus <robin@gareus.org>
Thu, 13 Oct 2016 16:07:18 +0000 (18:07 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 13 Oct 2016 16:07:41 +0000 (18:07 +0200)
gtk2_ardour/route_ui.cc

index 3f2f39d0cdc59d5e3aadc7f1a9e149e665eb2d13..9f204a59fcae71b8a5404114c9c4cce805de2298 100644 (file)
@@ -204,6 +204,7 @@ RouteUI::init ()
 
        _session->config.ParameterChanged.connect (*this, invalidator (*this), boost::bind (&RouteUI::parameter_changed, this, _1), gui_context());
        Config->ParameterChanged.connect (*this, invalidator (*this), boost::bind (&RouteUI::parameter_changed, this, _1), gui_context());
+       UIConfiguration::instance().ParameterChanged.connect (sigc::mem_fun (this, &RouteUI::parameter_changed));
 
        rec_enable_button->signal_button_press_event().connect (sigc::mem_fun(*this, &RouteUI::rec_enable_press), false);
        rec_enable_button->signal_button_release_event().connect (sigc::mem_fun(*this, &RouteUI::rec_enable_release), false);