Merge pull request #1281 from mig5/fix_check_for_new_release

Fix the onion object when checking for a new release via the Settings Dialog
This commit is contained in:
Saptak Sengupta 2021-02-22 18:08:21 +05:30 committed by GitHub
commit 754c4e9c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)