Skip to content

Commit

Permalink
Fixed a bug when dragging a FloatingDragPreview from another floating…
Browse files Browse the repository at this point in the history
… widget over an empty MainWindow
  • Loading branch information
githubuser0xFFFF committed Jul 13, 2020
1 parent d6831ca commit 81c9974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FloatingDragPreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 81c9974

Please sign in to comment.