Preserve hidden metadata values when reading from GUI form

This commit is contained in:
Mizaki 2024-10-03 23:01:12 +01:00
parent a7f1d566ab
commit 170476a705

View File

@ -940,6 +940,16 @@ class TaggerWindow(QtWidgets.QMainWindow):
md.add_credit(name, role, bool(primary_flag))
md.pages = self.page_list_editor.get_page_list()
# Preserve hidden md values
md.data_origin = self.metadata.data_origin
md.issue_id = self.metadata.issue_id
md.series_id = self.metadata.series_id
md.price = self.metadata.price
md.identifier = self.metadata.identifier
md.rights = self.metadata.rights
self.metadata = md
def use_filename(self) -> None: