836 |
836 |
837 def _contextMenuRequested(self, coord): |
837 def _contextMenuRequested(self, coord): |
838 """ |
838 """ |
839 Protected slot to show the context menu. |
839 Protected slot to show the context menu. |
840 |
840 |
841 @param coord the position of the mouse pointer (QPoint) |
841 @param coord the position of the mouse pointer |
|
842 @type QPoint |
842 """ |
843 """ |
843 if not self.project.isOpen(): |
844 if not self.project.isOpen(): |
844 return |
845 return |
845 |
846 |
846 with contextlib.suppress(Exception): # secok |
847 with contextlib.suppress(Exception): # secok |