diff --git a/src/FloatingDragPreview.cpp b/src/FloatingDragPreview.cpp index 2df152a..8d222d3 100644 --- a/src/FloatingDragPreview.cpp +++ b/src/FloatingDragPreview.cpp @@ -151,7 +151,7 @@ void FloatingDragPreviewPrivate::updateDropOverlays(const QPoint &GlobalPos) // If there is only one single visible dock area in a container, then // it does not make sense to show a dock overlay because the dock area // would be removed and inserted at the same position - if (VisibleDockAreas <= 1) + if (VisibleDockAreas == 1) { ContainerOverlay->hideOverlay(); }