ExtensionProtobuf/ProjectProtocolsBrowser.py

changeset 41
afe67fcf2a19
parent 40
c187d961ee3a
child 42
24ed3e1583dc
equal deleted inserted replaced
40:c187d961ee3a 41:afe67fcf2a19
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

eric ide

mercurial