mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 12:33:11 +02:00
...
This commit is contained in:
parent
29df4f3d09
commit
81f85d8b09
1 changed files with 2 additions and 1 deletions
|
|
@ -283,7 +283,8 @@ def relayout(self):
|
|||
def text_edited(self, *args):
|
||||
if self.no_popup: return
|
||||
self.update_completions()
|
||||
self.complete(select_first=len(unicode(self.text()))>0)
|
||||
select_first = len(self.mcompleter.model().current_prefix) > 0
|
||||
self.complete(select_first=select_first)
|
||||
|
||||
def update_completions(self):
|
||||
' Update the list of completions '
|
||||
|
|
|
|||
Loading…
Reference in a new issue