mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-28 09:42:33 -04:00
Correct problem searching for hierarchical items when parent nodes exist as real items.
This commit is contained in:
@@ -1092,6 +1092,7 @@ class TagsModel(QAbstractItemModel): # {{{
|
||||
if comp in child_map:
|
||||
node_parent = child_map[comp]
|
||||
node_parent.tag.count += tag.count
|
||||
node_parent.tag.use_prefix = True
|
||||
else:
|
||||
if i < len(components)-1:
|
||||
t = copy.copy(tag)
|
||||
|
||||
Reference in New Issue
Block a user