mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 07:39:10 +00:00
fix: include category tags under their own categories
This commit is contained in:
@@ -204,7 +204,7 @@ class FieldContainers(QWidget):
|
||||
if key:
|
||||
logger.info("Key cluster:", key=key, cluster=cluster_map.get(key.id))
|
||||
|
||||
if final_tags := cluster_map.get(key.id):
|
||||
if final_tags := cluster_map.get(key.id).union([key.id]):
|
||||
cats[key] = {self.lib.get_tag(x) for x in final_tags if x in base_tag_ids}
|
||||
added_ids = added_ids.union({x for x in final_tags if x in base_tag_ids})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user