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
This commit is contained in:
Robin Gareus
2025-08-19 13:28:26 +02:00
parent 014d231d13
commit f9cdaf698c

View File

@@ -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;