From d27783e2f151d5810be8cdf3e57c0896645d2b38 Mon Sep 17 00:00:00 2001 From: Uwe Date: Fri, 2 Sep 2022 14:54:48 +0200 Subject: [PATCH] Added check for model widget for Linux Prevent painting of drop overlays when model widget is active --- src/FloatingDockContainer.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/FloatingDockContainer.cpp b/src/FloatingDockContainer.cpp index 2a32786..869c7d7 100644 --- a/src/FloatingDockContainer.cpp +++ b/src/FloatingDockContainer.cpp @@ -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)