mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Towards clean exit
This commit is contained in:
parent
2563eb2e1d
commit
4cd241fab7
1 changed files with 12 additions and 4 deletions
|
|
@ -626,10 +626,18 @@ void
|
||||||
ARDOUR_UI::tabs_switch (GtkNotebookPage*, guint page)
|
ARDOUR_UI::tabs_switch (GtkNotebookPage*, guint page)
|
||||||
{
|
{
|
||||||
if (tabbables_table.get_parent ()) {
|
if (tabbables_table.get_parent ()) {
|
||||||
editor->tab_btn_box ().remove ();
|
if (editor) {
|
||||||
mixer->tab_btn_box ().remove ();
|
editor->tab_btn_box ().remove ();
|
||||||
recorder->tab_btn_box ().remove ();
|
}
|
||||||
trigger_page->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
|
//pack the tabbables selector in this tab, and set button sensitivity appropriately
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue