summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-11 00:14:27 +0200
committerRobin Gareus <robin@gareus.org>2013-07-11 00:14:27 +0200
commit56a4e2ee15d0c5c232c673a30e04deef808e59cd (patch)
tree491790fcba53fa3889b546c03f05b7018efd2929 /gtk2_ardour
parent7e74514a04ee07ba196af9aa5d04910505e67e7e (diff)
update mixer-meter (width) and panner if channel count changes
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/mixer_strip.cc2
1 files changed, 2 insertions, 0 deletions
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<Route> 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()) {