From 10581b142110d62026d0ea7d41ec631cc980a932 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 25 Apr 2018 09:13:05 -0700 Subject: [PATCH] Bugfix, settings was throwing an error and quitting when Tor was authenticated, not when it was not authenticated --- onionshare_gui/settings_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionshare_gui/settings_dialog.py b/onionshare_gui/settings_dialog.py index f8748ee4..dac8d75d 100644 --- a/onionshare_gui/settings_dialog.py +++ b/onionshare_gui/settings_dialog.py @@ -758,7 +758,7 @@ class SettingsDialog(QtWidgets.QDialog): Cancel button clicked. """ self.common.log('SettingsDialog', 'cancel_clicked') - if not self.local_only and self.onion.is_authenticated(): + if not self.local_only and not self.onion.is_authenticated(): Alert(self.common, strings._('gui_tor_connection_canceled', True), QtWidgets.QMessageBox.Warning) sys.exit() else: