mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix typing non-English characters using an input method (key composing) in the author/tags/etc fields in the metadata dialog not working. Fixes #1266795 [Character composing doesn't work on metadata editor](https://bugs.launchpad.net/calibre/+bug/1266795)
This commit is contained in:
parent
632e5105e8
commit
263c7c1469
@ -228,7 +228,7 @@ class Completer(QListView): # {{{
|
||||
self.hide()
|
||||
e.accept()
|
||||
return True
|
||||
elif etype == e.ShortcutOverride:
|
||||
elif etype in (e.InputMethod, e.ShortcutOverride):
|
||||
QApplication.sendEvent(widget, e)
|
||||
return False
|
||||
# }}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user