431 |
431 |
432 def _contextMenuRequested(self, coord): |
432 def _contextMenuRequested(self, coord): |
433 """ |
433 """ |
434 Protected slot to show the context menu. |
434 Protected slot to show the context menu. |
435 |
435 |
436 @param coord the position of the mouse pointer (QPoint) |
436 @param coord the position of the mouse pointer |
|
437 @type QPoint |
437 """ |
438 """ |
438 if not self.project.isOpen(): |
439 if not self.project.isOpen(): |
439 return |
440 return |
440 |
441 |
441 with contextlib.suppress(Exception): # secok |
442 with contextlib.suppress(Exception): # secok |