mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-20 12:52:26 +12:00
Minor bug
This commit is contained in:
parent
7f60a7efda
commit
5664ad3a02
|
@ -76,7 +76,6 @@ class textEditCompleter(textEditView):
|
|||
a.triggered.connect(self.popupCompleter)
|
||||
menu.insertSeparator(menu.actions()[0])
|
||||
menu.insertAction(menu.actions()[0], a)
|
||||
|
||||
return menu
|
||||
|
||||
def keyPressEvent(self, event):
|
||||
|
|
|
@ -415,11 +415,6 @@ class textEditView(QTextEdit):
|
|||
|
||||
def contextMenuEvent(self, event):
|
||||
# Based on http://john.nachtimwald.com/2009/08/22/qplaintextedit-with-in-line-spell-check/
|
||||
|
||||
if not self.spellcheck:
|
||||
QTextEdit.contextMenuEvent(self, event)
|
||||
return
|
||||
|
||||
popup_menu = self.createStandardContextMenu()
|
||||
popup_menu.exec_(event.globalPos())
|
||||
|
||||
|
|
Loading…
Reference in a new issue