mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Tag Browser: Fix the Manage X items in the right click menu
This commit is contained in:
parent
9f7bdcdc0b
commit
21daa3c72a
@ -216,6 +216,8 @@ class TagsView(QTreeView): # {{{
|
|||||||
item = item.parent
|
item = item.parent
|
||||||
|
|
||||||
if item.type == TagTreeItem.CATEGORY:
|
if item.type == TagTreeItem.CATEGORY:
|
||||||
|
while item.parent != self._model.root_item:
|
||||||
|
item = item.parent
|
||||||
category = unicode(item.name.toString())
|
category = unicode(item.name.toString())
|
||||||
key = item.category_key
|
key = item.category_key
|
||||||
# Verify that we are working with a field that we know something about
|
# Verify that we are working with a field that we know something about
|
||||||
|
Loading…
x
Reference in New Issue
Block a user