From 58376b339167ec0d535f10276ca06ab8a3bd2197 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 8 Dec 2024 19:36:37 +0100 Subject: [PATCH] Fixing issue #1948 (crash on dragging a cell) - problem was the popup which Qt does not like during drag-and-drop operations. --- src/laybasic/laybasic/layViewObject.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/laybasic/laybasic/layViewObject.cc b/src/laybasic/laybasic/layViewObject.cc index 31caade5b..87938ff10 100644 --- a/src/laybasic/laybasic/layViewObject.cc +++ b/src/laybasic/laybasic/layViewObject.cc @@ -293,7 +293,8 @@ class ViewObjectQWidget : public QWidget } - END_PROTECTED + // Note: Qt does not like popups during drag-and-drop operations ... + END_PROTECTED_SILENT } void dragLeaveEvent (QDragLeaveEvent * /*event*/) @@ -309,7 +310,8 @@ class ViewObjectQWidget : public QWidget svc = next; } - END_PROTECTED + // Note: Qt does not like popups during drag-and-drop operations ... + END_PROTECTED_SILENT } void dragMoveEvent (QDragMoveEvent *event) @@ -332,7 +334,8 @@ class ViewObjectQWidget : public QWidget } - END_PROTECTED + // Note: Qt does not like popups during drag-and-drop operations ... + END_PROTECTED_SILENT } void dropEvent (QDropEvent *event) @@ -355,7 +358,8 @@ class ViewObjectQWidget : public QWidget } - END_PROTECTED + // Note: Qt does not like popups during drag-and-drop operations ... + END_PROTECTED_SILENT } void mouseMoveEvent (QMouseEvent *e)