summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-11-04 16:41:49 +0000
committerCarl Hetherington <carl@carlh.net>2007-11-04 16:41:49 +0000
commit56ab60f16383cc6de77118cb20bd85ce8deaef57 (patch)
treee5b9dbdc828d09e5e742bb21f48b1f6d534d7db4 /gtk2_ardour
parent13fce7e753577a7809b86ab8b3819db2232a86f6 (diff)
Don't give master or control routes a hide button, to fix #1645
git-svn-id: svn://localhost/ardour2/trunk@2585 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/mixer_strip.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc
index 62aefba27f..eb3e7496bf 100644
--- a/gtk2_ardour/mixer_strip.cc
+++ b/gtk2_ardour/mixer_strip.cc
@@ -362,7 +362,11 @@ MixerStrip::MixerStrip (Mixer_UI& mx, Session& sess, boost::shared_ptr<Route> rt
gain_meter_alignment->show();
pre_processor_box.show();
- hide_button.show();
+
+ if (!route()->is_master() && !route()->is_control()) {
+ /* we don't allow master or control routes to be hidden */
+ hide_button.show();
+ }
width_button.show();
width_hide_box.show();
global_frame.show();