fix: change typo of tag.id to tag_id

Co-authored-by: Jann Stute <46534683+Computerdores@users.noreply.github.com>
This commit is contained in:
Travis Abendshien
2025-01-10 08:21:10 -08:00
committed by GitHub
parent 389d0fb831
commit 6d2c1ec7f5

View File

@@ -171,8 +171,8 @@ class FieldContainers(QWidget):
if cluster_map.get(p_id) is None:
cluster_map[p_id] = set()
# If the p_tag has p_tags of its own, recursively link those to the original Tag.
if tag.id not in cluster_map[p_id]:
cluster_map[p_id].add(tag.id)
if tag_id not in cluster_map[p_id]:
cluster_map[p_id].add(tag_id)
p_tag = self.lib.get_tag(p_id) # Get full object
if p_tag.parent_ids:
add_to_cluster(