diff options
author | Len Ovens <len@ovenwerks.net> | 2019-08-28 11:12:44 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2019-08-28 11:21:06 -0700 |
commit | adf48ac63fec804a80ee8c7ac78c8702879282c4 (patch) | |
tree | 88635756a021193dc670a9bfb7166303f7ffcb85 /gtk2_ardour/mixer_ui.cc | |
parent | 85f8387f545520387dd9f2e0e3c2e6982ac30904 (diff) |
Ensure monitor section is always leftmost in mixer window
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 22e69d3455..f8a96fd78c 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -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); |