mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
No focus for completion popup
Might fix issue with some windows computers and the popup grabbing focus.
This commit is contained in:
parent
a5f120085d
commit
ac758eb0cd
@ -102,6 +102,7 @@ class Completer(QListView): # {{{
|
||||
self.activated.connect(self.item_chosen)
|
||||
self.pressed.connect(self.item_chosen)
|
||||
self.installEventFilter(self)
|
||||
self.setFocusPolicy(Qt.NoFocus)
|
||||
|
||||
def hide(self):
|
||||
self.setCurrentIndex(QModelIndex())
|
||||
|
Loading…
x
Reference in New Issue
Block a user