Correct problem searching for hierarchical items when parent nodes exist as real items.

This commit is contained in:
Charles Haley 2011-02-24 11:06:48 +00:00
parent 762f6f2557
commit 9f7034f893

View File

@ -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)