mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 03:26:11 +01:00
...
This commit is contained in:
parent
69f74c2018
commit
a0256f9705
1 changed files with 2 additions and 0 deletions
|
|
@ -284,6 +284,8 @@ def text_edited(self, *args):
|
|||
if self.no_popup: return
|
||||
self.update_completions()
|
||||
select_first = len(self.mcompleter.model().current_prefix) > 0
|
||||
if not select_first:
|
||||
self.mcompleter.setCurrentIndex(QModelIndex())
|
||||
self.complete(select_first=select_first)
|
||||
|
||||
def update_completions(self):
|
||||
|
|
|
|||
Loading…
Reference in a new issue