mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix sorting problem in manage categories
This commit is contained in:
parent
fad1f2c74a
commit
1f98cb3619
@ -260,6 +260,7 @@ class TagCategories(QDialog, Ui_TagCategories):
|
||||
self.applied_items = [cat[2] for cat in self.categories.get(self.current_cat_name, [])]
|
||||
else:
|
||||
self.applied_items = []
|
||||
self.applied_items.sort(key=lambda x:sort_key(self.all_items[x].name))
|
||||
self.display_filtered_categories(None)
|
||||
|
||||
def accept(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user