Change ComicArchive type to set from list

This commit is contained in:
Mizaki 2024-04-28 23:55:50 +01:00
parent 247ee01d6e
commit 7e63070f13

View File

@ -1190,7 +1190,7 @@ class TaggerWindow(QtWidgets.QMainWindow):
failed_style = metadata_styles[style].name()
break
self.comic_archive.load_cache(list(metadata_styles))
self.comic_archive.load_cache(set(metadata_styles))
QtWidgets.QApplication.restoreOverrideCursor()
if failed_style:
@ -1592,7 +1592,7 @@ class TaggerWindow(QtWidgets.QMainWindow):
# Abandon any further tag removals to prevent any greater damage to archive
break
ca.reset_cache()
ca.load_cache(list(metadata_styles))
ca.load_cache(set(metadata_styles))
progdialog.hide()
QtCore.QCoreApplication.processEvents()