mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Display tor connection percent when testing bundled tor in settings
This commit is contained in:
parent
d3a7eef95c
commit
f6eb178f7b
@ -541,7 +541,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||||||
self.autoupdate_timestamp.setText(strings._('gui_settings_autoupdate_timestamp', True).format(last_checked))
|
self.autoupdate_timestamp.setText(strings._('gui_settings_autoupdate_timestamp', True).format(last_checked))
|
||||||
|
|
||||||
def _tor_status_update(self, progress, summary):
|
def _tor_status_update(self, progress, summary):
|
||||||
self.tor_status.setText('<strong>{}</strong><br>{}'.format(strings._('connecting_to_tor', True), summary))
|
self.tor_status.setText('<strong>{}</strong><br>{}% {}'.format(strings._('connecting_to_tor', True), progress, summary))
|
||||||
self.qtapp.processEvents()
|
self.qtapp.processEvents()
|
||||||
if 'Done' in summary:
|
if 'Done' in summary:
|
||||||
self.tor_status.hide()
|
self.tor_status.hide()
|
||||||
|
Loading…
Reference in New Issue
Block a user