Skip to content

Commit

Permalink
Fixing issue #1948 (crash on dragging a cell) - problem was the popup…
Browse files Browse the repository at this point in the history
… which Qt does not like during drag-and-drop operations.
  • Loading branch information
Matthias Koefferlein committed Dec 8, 2024
1 parent 9441024 commit 58376b3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/laybasic/laybasic/layViewObject.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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*/)
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 58376b3

Please sign in to comment.