quick checks on empty control lists, to avoid unnecessary work
[ardour.git] / gtk2_ardour / startup.cc
index 45f543e11875a2eac7713c6f7603d6bf91e7213a..ed0cd885cb4a3f0edadf809464e681edb7db088e 100644 (file)
@@ -46,6 +46,7 @@
 #include "ardour/session.h"
 #include "ardour/session_state_utils.h"
 #include "ardour/template_utils.h"
+#include "ardour/profile.h"
 
 #include "startup.h"
 #include "opts.h"
@@ -357,7 +358,9 @@ ArdourStartup::setup_final_page ()
 
        VBox* vbox = manage (new VBox);
        vbox->pack_start (*final_label, true, true);
-       vbox->pack_start (plugin_disco_button, true, false);
+       if (!Profile->get_mixbus()) {
+               vbox->pack_start (plugin_disco_button, true, false);
+       }
        vbox->show ();
 
        final_page_index = append_page (*vbox);