mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Send unmap event when removing a widget
This fixes a crash when hiding an ArdourCanvas Item VCA which is about to display a tooltip.
This commit is contained in:
parent
aff92a019d
commit
3d0366d46b
1 changed files with 1 additions and 0 deletions
|
|
@ -631,6 +631,7 @@ Gtkmm2ext::container_clear (Gtk::Container& c)
|
|||
{
|
||||
list<Gtk::Widget*> children = c.get_children();
|
||||
for (list<Gtk::Widget*>::iterator child = children.begin(); child != children.end(); ++child) {
|
||||
(*child)->hide ();
|
||||
c.remove (**child);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue