Skip to content

Commit 59c7838

Browse files
Fixed wrong test for VisibleDockAreas
1 parent 4cb1931 commit 59c7838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FloatingDragPreview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void FloatingDragPreviewPrivate::updateDropOverlays(const QPoint &GlobalPos)
148148
// If there is only one single visible dock area in a container, then
149149
// it does not make sense to show a dock overlay because the dock area
150150
// would be removed and inserted at the same position
151-
if (1 <= VisibleDockAreas)
151+
if (VisibleDockAreas <= 1)
152152
{
153153
ContainerOverlay->hide();
154154
}

0 commit comments

Comments
 (0)