Bugfix, TorConnectionDialog was getting instatiated with the wrong arguements

This commit is contained in:
Micah Lee 2018-04-25 09:08:50 -07:00
parent f149530834
commit edd5d4f78c
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -737,7 +737,7 @@ class SettingsDialog(QtWidgets.QDialog):
self.common.log('SettingsDialog', 'save_clicked', 'rebooting the Onion') self.common.log('SettingsDialog', 'save_clicked', 'rebooting the Onion')
self.onion.cleanup() self.onion.cleanup()
tor_con = TorConnectionDialog(self.qtapp, settings, self.onion) tor_con = TorConnectionDialog(self.common, self.qtapp, self.onion, settings)
tor_con.start() tor_con.start()
self.common.log('SettingsDialog', 'save_clicked', 'Onion done rebooting, connected to Tor: {}'.format(self.onion.connected_to_tor)) self.common.log('SettingsDialog', 'save_clicked', 'Onion done rebooting, connected to Tor: {}'.format(self.onion.connected_to_tor))