mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1041389 (Drop down lists behaviour not consistent)
This commit is contained in:
parent
f754786d12
commit
efd41d87ed
@ -30,6 +30,7 @@ class CompleteModel(QAbstractListModel): # {{{
|
||||
items = [x for x in items if x]
|
||||
items = tuple(sorted(items, key=sort_key))
|
||||
self.all_items = self.current_items = items
|
||||
self.current_prefix = ''
|
||||
self.reset()
|
||||
|
||||
def set_completion_prefix(self, prefix):
|
||||
|
Loading…
x
Reference in New Issue
Block a user