Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix SAP being interactable under the popup palette

Luna Lovecraftad38575b1b33
diff --git a/libs/ui/kis_popup_palette.cpp b/libs/ui/kis_popup_palette.cpp
index 829159a7b1..d8efe1d16c 100644
--- a/libs/ui/kis_popup_palette.cpp
+++ b/libs/ui/kis_popup_palette.cpp
@@ -1134,6 +1134,9 @@ void KisPopupPalette::ensureWithinParent(const QPoint& globalPos, bool useUpperL
void KisPopupPalette::showEvent(QShowEvent *event)
{
+ // Ensure that the palette is always on top of all other canvas children
+ raise();
+
m_clicksEater->reset();
// don't set the zoom slider if we are outside of the zoom slider bounds. It will change the zoom level to within