Lucas
2021-10-01 15:30:33 +02:00
committed by GitHub
parent 130b0de646
commit 0b82ff30fe
3 changed files with 29 additions and 7 deletions

View File

@@ -1565,8 +1565,9 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
}
if (Dropped)
{
FloatingWidget->deleteLater();
{
// Fix https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/issues/351
FloatingWidget->hideAndDeleteLater();
// If we dropped a floating widget with only one single dock widget, then we
// drop a top level widget that changes from floating to docked now