From 9e8d1ebb6f12a8cda64295c39315746fdb610fb9 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 22 Feb 2021 13:46:35 +1100 Subject: [PATCH] Fix the onion object when checking for a new release via the Settings Dialog --- desktop/src/onionshare/settings_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/onionshare/settings_dialog.py b/desktop/src/onionshare/settings_dialog.py index 974b7008..5aea64b9 100644 --- a/desktop/src/onionshare/settings_dialog.py +++ b/desktop/src/onionshare/settings_dialog.py @@ -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)