13
0

Mixer visibility prefs changes teke effect "live".

This commit is contained in:
nick_m 2015-03-29 17:43:07 +11:00
parent c9023ae73d
commit ca1856a09b

View File

@ -372,7 +372,7 @@ MixerStrip::init ()
_visibility.add (&_comment_button, X_("Comments"), _("Comments"), false);
parameter_changed (X_("mixer-element-visibility"));
ARDOUR_UI::config()->ParameterChanged.connect (sigc::mem_fun (*this, &MixerStrip::parameter_changed));
Config->ParameterChanged.connect (_config_connection, MISSING_INVALIDATOR, boost::bind (&MixerStrip::parameter_changed, this, _1), gui_context());
_session->config.ParameterChanged.connect (_config_connection, MISSING_INVALIDATOR, boost::bind (&MixerStrip::parameter_changed, this, _1), gui_context());