Skip to content

Commit 0c9a1ee

Browse files
Fixed a bug in FloatingDragPreview that prevents dock widget from floating when dragging over another dock widget
1 parent 3adabae commit 0c9a1ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/FloatingDragPreview.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ void CFloatingDragPreview::finishDragging()
349349
d->DropContainer->dropWidget(d->Content, ContainerDropArea, nullptr);
350350
}
351351
}
352+
else
353+
{
354+
d->createFloatingWidget();
355+
}
352356

353357
this->close();
354358
d->DockManager->containerOverlay()->hideOverlay();

0 commit comments

Comments
 (0)