Added check for model widget for Linux

Prevent painting of drop overlays when model widget is active
This commit is contained in:
Uwe 2022-09-02 14:54:48 +02:00
parent efd88565a9
commit d27783e2f1

View File

@ -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)