mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -03:00
Fix bug where persistent tooltips were not displaying
This commit is contained in:
parent
a32778397a
commit
24b025419a
1 changed files with 4 additions and 3 deletions
|
@ -137,10 +137,11 @@ class ServerStatus(QtWidgets.QWidget):
|
|||
self.url_label.setToolTip(strings._('gui_url_label_onetime_and_persistent', True))
|
||||
else:
|
||||
self.url_label.setToolTip(strings._('gui_url_label_persistent', True))
|
||||
if self.settings.get('close_after_first_download'):
|
||||
self.url_label.setToolTip(strings._('gui_url_label_onetime', True))
|
||||
else:
|
||||
self.url_label.setToolTip(strings._('gui_url_label_stay_open', True))
|
||||
if self.settings.get('close_after_first_download'):
|
||||
self.url_label.setToolTip(strings._('gui_url_label_onetime', True))
|
||||
else:
|
||||
self.url_label.setToolTip(strings._('gui_url_label_stay_open', True))
|
||||
self.url_label.show()
|
||||
|
||||
self.url.setText('http://{0:s}/{1:s}'.format(self.app.onion_host, self.web.slug))
|
||||
|
|
Loading…
Add table
Reference in a new issue