Check if Tor is connected instead of if the Tor controller is authenticated

This commit is contained in:
Micah Lee 2021-11-09 18:49:23 -08:00
parent 9430439b5f
commit 73b570f4b4
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -128,7 +128,7 @@ class Mode(QtWidgets.QWidget):
self.wrapper_layout.addWidget(self.tor_not_connected_widget)
self.setLayout(self.wrapper_layout)
if self.common.gui.onion.is_authenticated():
if self.common.gui.onion.connected_to_tor:
self.tor_connection_started()
else:
self.tor_connection_stopped()