From 7d4350ab259706fb5f408a8785cea1e70ea26fdb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 19 Aug 2025 13:28:26 +0200 Subject: [PATCH] Never unpack the selection-property-box This is used to for all selection: route, plugins, time and region and slot selection. Only re-pack it with different expand option when the pianoroll is also visible --- gtk2_ardour/editor_selection.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 9223e683d4..02495eb93c 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1722,6 +1722,8 @@ Editor::region_selection_changed () maybe_edit_region_in_bottom_pane (*rv); } else { Gtkmm2ext::container_clear (_bottom_hbox); + _bottom_hbox.pack_start (*_properties_box, true, true); + _properties_box->show (); } } @@ -1731,7 +1733,6 @@ Editor::maybe_edit_region_in_bottom_pane (RegionView& rv) Gtkmm2ext::container_clear (_bottom_hbox); if (UIConfiguration::instance().get_region_edit_disposition() == Editing::NeverBottomPane) { - /* Just the properties box. XXX does that make sense ? */ _bottom_hbox.pack_start (*_properties_box, true, true); _properties_box->show (); return;