Skip to content

Commit

Permalink
Merge pull request #1951 from KLayout/issue-1948
Browse files Browse the repository at this point in the history
Fixing issue #1948 (crash on dragging a cell) - problem was the popup…
  • Loading branch information
klayoutmatthias authored Jan 4, 2025
2 parents 856c724 + 58376b3 commit f08c3a6
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 f08c3a6

Please sign in to comment.