From 6b4abcf061ab6531db05c3eac2ef0b469d70ec6b Mon Sep 17 00:00:00 2001 From: Mizaki Date: Tue, 8 Nov 2022 16:32:37 +0000 Subject: [PATCH] Update current talker object with new settings. --- comictaggerlib/settingswindow.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/comictaggerlib/settingswindow.py b/comictaggerlib/settingswindow.py index 6400574..3a14f47 100644 --- a/comictaggerlib/settingswindow.py +++ b/comictaggerlib/settingswindow.py @@ -483,6 +483,10 @@ class SettingsWindow(QtWidgets.QDialog): # Save out option self.settings.config.set(source.source_details.id, option["name"], option["value"]) + # Update talker options in object + if source.source_details.id == self.talker_api.source_details.id: + self.talker_api.settings_options[option["name"]]["value"] = option["value"] + self.settings.save() QtWidgets.QDialog.accept(self)