Components: Unparent on dispose
This commit is contained in:
parent
0491c75ec7
commit
3ec44cfd1d
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ mod imp {
|
|||
|
||||
self.revealer.set_child(Some(&self.status));
|
||||
}
|
||||
|
||||
fn dispose(&self, _obj: &Self::Type) {
|
||||
self.overlay.unparent();
|
||||
}
|
||||
}
|
||||
impl WidgetImpl for DragOverlay {}
|
||||
impl BinImpl for DragOverlay {}
|
||||
|
|
Loading…
Reference in a new issue