mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
69f74c2018
commit
a0256f9705
@ -284,6 +284,8 @@ class LineEdit(QLineEdit, LineEditECM):
|
|||||||
if self.no_popup: return
|
if self.no_popup: return
|
||||||
self.update_completions()
|
self.update_completions()
|
||||||
select_first = len(self.mcompleter.model().current_prefix) > 0
|
select_first = len(self.mcompleter.model().current_prefix) > 0
|
||||||
|
if not select_first:
|
||||||
|
self.mcompleter.setCurrentIndex(QModelIndex())
|
||||||
self.complete(select_first=select_first)
|
self.complete(select_first=select_first)
|
||||||
|
|
||||||
def update_completions(self):
|
def update_completions(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user