mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-06 20:24:09 +01:00
Fix bug in sorting using icu sort_key
This commit is contained in:
parent
ae8764d456
commit
a110eb19dd
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ def apply_tags(self, node=None):
|
|||
index = self.all_items[node.data(Qt.UserRole).toPyObject()].index
|
||||
if index not in self.applied_items:
|
||||
self.applied_items.append(index)
|
||||
self.applied_items.sort(key=lambda x:sort_key(self.all_items[x]))
|
||||
self.applied_items.sort(key=lambda x:sort_key(self.all_items[x].name))
|
||||
self.display_filtered_categories(None)
|
||||
|
||||
def unapply_tags(self, node=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue