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: