From 8828e190222aa74dbc11e9f36f2d7d5c4c6b0e1c Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Mon, 1 Jul 2024 11:34:56 +0200
Subject: [PATCH] + comm

---
 GUI/View/Scene/MaskGraphicsProxy.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GUI/View/Scene/MaskGraphicsProxy.cpp b/GUI/View/Scene/MaskGraphicsProxy.cpp
index 1e676b91fba..e5beb9d2632 100644
--- a/GUI/View/Scene/MaskGraphicsProxy.cpp
+++ b/GUI/View/Scene/MaskGraphicsProxy.cpp
@@ -36,7 +36,7 @@ void MaskGraphicsProxy::mousePressEvent(QGraphicsSceneMouseEvent* event)
     if (!m_zooming)
         return;
     QGraphicsProxyWidget::mousePressEvent(event);
-    event->accept();
+    event->accept(); // prevents propagation to parent widget
 }
 
 void MaskGraphicsProxy::mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
-- 
GitLab