We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db3dc80 commit df34b0eCopy full SHA for df34b0e
src/FloatingDragPreview.cpp
@@ -351,11 +351,10 @@ void CFloatingDragPreview::finishDragging()
351
auto DockDropArea = d->DockManager->dockAreaOverlay()->visibleDropAreaUnderCursor();
352
auto ContainerDropArea = d->DockManager->containerOverlay()->visibleDropAreaUnderCursor();
353
bool ValidDropArea = (DockDropArea != InvalidDockWidgetArea) || (ContainerDropArea != InvalidDockWidgetArea);
354
- bool FloatingRequested = !d->DropContainer && !ValidDropArea;
355
356
// Non floatable auto hide widgets should stay in its current auto hide
357
// state if they are dragged into a floating window
358
- if (!FloatingRequested || d->isContentFloatable())
+ if (ValidDropArea || d->isContentFloatable())
359
{
360
cleanupAutoHideContainerWidget();
361
}
0 commit comments