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 11869a9d0d
commit 4d4e9c6800

View File

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