We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe10b57 commit 4cb1931Copy full SHA for 4cb1931
src/FloatingDragPreview.cpp
@@ -145,6 +145,14 @@ void FloatingDragPreviewPrivate::updateDropOverlays(const QPoint &GlobalPos)
145
else
146
{
147
DockAreaOverlay->hideOverlay();
148
+ // If there is only one single visible dock area in a container, then
149
+ // it does not make sense to show a dock overlay because the dock area
150
+ // would be removed and inserted at the same position
151
+ if (1 <= VisibleDockAreas)
152
+ {
153
+ ContainerOverlay->hide();
154
+ }
155
+
156
if (DockArea == ContentSourceArea && InvalidDockWidgetArea == ContainerDropArea)
157
158
DropContainer = nullptr;
0 commit comments