Fix the onion object when checking for a new release via the Settings Dialog

This commit is contained in:
Miguel Jacq 2021-02-22 13:46:35 +11:00
parent 49bf302290
commit 9e8d1ebb6f
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -787,7 +787,7 @@ class SettingsDialog(QtWidgets.QDialog):
)
close_forced_update_thread()
forced_update_thread = UpdateThread(self.common, self.onion, force=True)
forced_update_thread = UpdateThread(self.common, self.common.gui.onion, force=True)
forced_update_thread.update_available.connect(update_available)
forced_update_thread.update_not_available.connect(update_not_available)
forced_update_thread.update_error.connect(update_error)