Ensure monitor section is always leftmost in mixer window

This commit is contained in:
Len Ovens
2019-08-28 11:12:44 -07:00
parent 85f8387f54
commit adf48ac63f

View File

@@ -591,6 +591,11 @@ Mixer_UI::add_stripables (StripableList& slist)
if (route->is_monitor()) {
out_packer.pack_end (_monitor_section.tearoff(), false, false);
if (foldback_strip) {
out_packer.remove (*foldback_strip);
out_packer.pack_end (*foldback_strip, false, false);
foldback_strip->set_packed (true);
}
_monitor_section.set_session (_session);
_monitor_section.tearoff().show_all ();
@@ -618,7 +623,6 @@ Mixer_UI::add_stripables (StripableList& slist)
foldback_strip->set_packed (true);
}
continue;
}
strip = new MixerStrip (*this, _session, route);