fix tag list displaying all images ignoring image filter

pull/3/head
toshiaki1729 2022-11-04 03:10:53 +09:00
parent daf0a03000
commit 847c201965
1 changed files with 2 additions and 4 deletions

View File

@ -102,10 +102,8 @@ class DatasetTagEditor:
tags = self.img_tag_set_dict.get(path)
if not filter_tag_set.issubset(tags):
img_paths.remove(path)
tag_set = self.construct_tag_set_from(img_paths)
else:
tag_set = self.get_tag_set()
tag_set = self.construct_tag_set_from(img_paths)
img_paths = sorted(img_paths)
if filter_word: