From 56a4e2ee15d0c5c232c673a30e04deef808e59cd Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 11 Jul 2013 00:14:27 +0200 Subject: [PATCH] update mixer-meter (width) and panner if channel count changes --- gtk2_ardour/mixer_strip.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index b11751d957..3fb377bf9e 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -510,6 +510,8 @@ MixerStrip::set_route (boost::shared_ptr rt) route_ops_menu = 0; _route->meter_change.connect (route_connections, invalidator (*this), bind (&MixerStrip::meter_changed, this), gui_context()); + _route->input()->changed.connect (*this, invalidator (*this), boost::bind (&MixerStrip::update_output_display, this), gui_context()); + _route->output()->changed.connect (*this, invalidator (*this), boost::bind (&MixerStrip::update_output_display, this), gui_context()); _route->route_group_changed.connect (route_connections, invalidator (*this), boost::bind (&MixerStrip::route_group_changed, this), gui_context()); if (_route->panner_shell()) {