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
@ -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…
Reference in New Issue
Block a user