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