diff --git a/src/FloatingDockContainer.cpp b/src/FloatingDockContainer.cpp index 0a2cdc7..6e5e712 100644 --- a/src/FloatingDockContainer.cpp +++ b/src/FloatingDockContainer.cpp @@ -1133,6 +1133,10 @@ void CFloatingDockContainer::hideAndDeleteLater() d->AutoHideChildren = false; hide(); deleteLater(); + if (d->DockManager) + { + d->DockManager->removeFloatingWidget(this); + } } //============================================================================