Sanitize "well-known" ctrl API
[ardour.git] / gtk2_ardour / vca_master_strip.cc
index aa4709ca793ada9f22ffe5651d9ab6cedd5270d5..40b2a081030cfb549f92e8feccbf85e919e67760 100644 (file)
@@ -230,6 +230,11 @@ VCAMasterStrip::update_bottom_padding ()
        output_button.set_name ("mixer strip button");
        comment_button.set_name ("generic button");
 
+       if (viz.find ("VCA") == std::string::npos) {
+               control_slave_ui.hide ();
+       } else {
+               control_slave_ui.show ();
+       }
 
        int h = 1;
        if (1) {