mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Fix re-packing of toolbar meter
This fixes a gtk-warning when loading a session from a running instance: IA__gtk_table_attach: assertion 'child->parent == NULL' failed"
This commit is contained in:
parent
fd4c35d46a
commit
fa2c935581
1 changed files with 3 additions and 1 deletions
|
|
@ -233,12 +233,14 @@ ARDOUR_UI::set_session (Session *s)
|
|||
editor_meter_table.remove(*editor_meter);
|
||||
delete editor_meter;
|
||||
editor_meter = 0;
|
||||
editor_meter_peak_display.hide();
|
||||
}
|
||||
|
||||
if (editor_meter_table.get_parent()) {
|
||||
transport_hbox.remove (editor_meter_table);
|
||||
}
|
||||
if (editor_meter_peak_display.get_parent ()) {
|
||||
editor_meter_table.remove (editor_meter_peak_display);
|
||||
}
|
||||
|
||||
if (_session &&
|
||||
_session->master_out() &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue