File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -351,11 +351,10 @@ void CFloatingDragPreview::finishDragging()
351351 auto DockDropArea = d->DockManager ->dockAreaOverlay ()->visibleDropAreaUnderCursor ();
352352 auto ContainerDropArea = d->DockManager ->containerOverlay ()->visibleDropAreaUnderCursor ();
353353 bool ValidDropArea = (DockDropArea != InvalidDockWidgetArea) || (ContainerDropArea != InvalidDockWidgetArea);
354- bool FloatingRequested = !d->DropContainer && !ValidDropArea;
355354
356355 // Non floatable auto hide widgets should stay in its current auto hide
357356 // state if they are dragged into a floating window
358- if (!FloatingRequested || d->isContentFloatable ())
357+ if (ValidDropArea || d->isContentFloatable ())
359358 {
360359 cleanupAutoHideContainerWidget ();
361360 }
You can’t perform that action at this time.
0 commit comments