Prevent context menu when selecting location in ToC editor

This commit is contained in:
Kovid Goyal 2020-05-22 20:29:11 +05:30
parent 123dc2bb52
commit 12f2a2f713
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -90,6 +90,9 @@ def load_path(self, path, frag=None):
def sizeHint(self):
return QSize(1500, 300)
def contextMenuEvent(self, ev):
pass
# }}}