mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
Fixed wrong test for VisibleDockAreas
This commit is contained in:
parent
4cb1931ace
commit
59c783831a
@ -148,7 +148,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 (1 <= VisibleDockAreas)
|
||||
if (VisibleDockAreas <= 1)
|
||||
{
|
||||
ContainerOverlay->hide();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user