mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Fix right-click removal of hierarchical items from user categories
This commit is contained in:
parent
a8c278d449
commit
762f6f2557
@ -236,7 +236,8 @@ class TagsView(QTreeView): # {{{
|
||||
self.user_category_delete.emit(key)
|
||||
return
|
||||
if action == 'delete_item_from_user_category':
|
||||
self.del_user_cat_item.emit(key, index.name, index.category)
|
||||
self.del_user_cat_item.emit(key,
|
||||
getattr(index, 'original_name', index.name), index.category)
|
||||
return
|
||||
if action == 'manage_searches':
|
||||
self.saved_search_edit.emit(category)
|
||||
|
Loading…
x
Reference in New Issue
Block a user