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
This commit is contained in:
Carl Hetherington 2007-11-04 16:41:49 +00:00
parent 13fce7e753
commit 56ab60f163

View File

@ -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();