Towards clean exit

This commit is contained in:
Robin Gareus 2025-08-20 14:13:31 +02:00
parent 2563eb2e1d
commit 4cd241fab7
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -626,10 +626,18 @@ void
ARDOUR_UI::tabs_switch (GtkNotebookPage*, guint page)
{
if (tabbables_table.get_parent ()) {
editor->tab_btn_box ().remove ();
mixer->tab_btn_box ().remove ();
recorder->tab_btn_box ().remove ();
trigger_page->tab_btn_box ().remove ();
if (editor) {
editor->tab_btn_box ().remove ();
}
if (mixer) {
mixer->tab_btn_box ().remove ();
}
if (recorder) {
recorder->tab_btn_box ().remove ();
}
if (trigger_page) {
trigger_page->tab_btn_box ().remove ();
}
}
//pack the tabbables selector in this tab, and set button sensitivity appropriately