summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-18 00:22:31 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-18 00:22:31 +0000
commit5cb4efea80588c6e3be3b58f573d9a5d6f6a7e1b (patch)
tree58ce6243c3ac5c702f573a2ac306a110781c6c54 /gtk2_ardour/mixer_strip.cc
parent12e80812fdbfcf905d29b423485d103dedf1a92b (diff)
Remove panner altogether, if necessary, when setting up PannerUI. Also reset a mixer strip's peak display when its route is changed (#4485).
git-svn-id: svn://localhost/ardour2/branches/3.0@10668 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-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 5d018a4251..18f65d7880 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -545,6 +545,8 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
hide_button.show();
}
+ gpm.reset_peak_display ();
+
width_button.show();
width_hide_box.show();
whvbox.show ();