bool change = false;
uint32_t order = 0;
+ // special case master if it's got PI order 0 lets keep it there
+ if (_session->master_out() && (_session->master_out()->presentation_info().order() == 0)) {
+ order++;
+ }
+
for (ri = rows.begin(); ri != rows.end(); ++ri) {
bool visible = (*ri)[stripable_columns.visible];
boost::shared_ptr<Stripable> stripable = (*ri)[stripable_columns.stripable];
stripable->presentation_info().set_hidden (!visible);
+ // master may not get set here, but if it is zero keep it there
+ if (stripable->is_master() && (stripable->presentation_info().order() == 0)) {
+ continue;
+ }
+
if (order != stripable->presentation_info().order()) {
stripable->set_presentation_order (order, false);
change = true;
if (change) {
DEBUG_TRACE (DEBUG::OrderKeys, "... notify PI change from mixer GUI\n");
_session->notify_presentation_info_change ();
+ _session->set_dirty();
}
}
_group_tabs->set_session (sess);
+ if (_monitor_section) {
+ _monitor_section->set_session (_session);
+ }
+
if (!_session) {
return;
}
#ifdef LXVST_SUPPORT
refiller (plugs, mgr.lxvst_plugin_info ());
#endif
+#ifdef MACVST_SUPPORT
+ refiller (plugs, mgr.mac_vst_plugin_info ());
+#endif
#ifdef AUDIOUNIT_SUPPORT
refiller (plugs, mgr.au_plugin_info ());
#endif