mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-26 16:01:36 +08:00
Added check for model widget for Linux
Prevent painting of drop overlays when model widget is active
This commit is contained in:
parent
efd88565a9
commit
d27783e2f1
@ -515,6 +515,13 @@ void FloatingDockContainerPrivate::updateDropOverlays(const QPoint &GlobalPos)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef Q_OS_LINUX
|
||||||
|
if (qApp->activeModalWidget())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
auto Containers = DockManager->dockContainers();
|
auto Containers = DockManager->dockContainers();
|
||||||
CDockContainerWidget *TopContainer = nullptr;
|
CDockContainerWidget *TopContainer = nullptr;
|
||||||
for (auto ContainerWidget : Containers)
|
for (auto ContainerWidget : Containers)
|
||||||
|
Loading…
Reference in New Issue
Block a user