mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update comment to be accurate about the current state of calibre
See 781a5e3287 (commitcomment-33165094)
This commit is contained in:
parent
333dab88c2
commit
9853451a74
@ -696,8 +696,8 @@ class TextEdit(PlainTextEdit):
|
|||||||
|
|
||||||
def override_shortcut(self, ev):
|
def override_shortcut(self, ev):
|
||||||
# Let the global cut/copy/paste/undo/redo shortcuts work, this avoids the nbsp
|
# Let the global cut/copy/paste/undo/redo shortcuts work, this avoids the nbsp
|
||||||
# problem as well, since they use the overridden copy() method
|
# problem as well, since they use the overridden createMimeDataFromSelection() method
|
||||||
# instead of the one from Qt, and allows proper customization
|
# instead of the one from Qt (which makes copy() work), and allows proper customization
|
||||||
# of the shortcuts
|
# of the shortcuts
|
||||||
if ev in (QKeySequence.Copy, QKeySequence.Cut, QKeySequence.Paste, QKeySequence.Undo, QKeySequence.Redo):
|
if ev in (QKeySequence.Copy, QKeySequence.Cut, QKeySequence.Paste, QKeySequence.Undo, QKeySequence.Redo):
|
||||||
ev.ignore()
|
ev.ignore()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user