mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +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;
|
||||
}
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
if (qApp->activeModalWidget())
|
||||
{
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
auto Containers = DockManager->dockContainers();
|
||||
CDockContainerWidget *TopContainer = nullptr;
|
||||
for (auto ContainerWidget : Containers)
|
||||
|
Loading…
Reference in New Issue
Block a user