diff --git a/src/components/drag_overlay.rs b/src/components/drag_overlay.rs index 93098dd1..5eca4546 100644 --- a/src/components/drag_overlay.rs +++ b/src/components/drag_overlay.rs @@ -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 {}