summaryrefslogtreecommitdiff
path: root/onionshare_gui
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2018-02-13 17:50:10 -0800
committerMicah Lee <micah@micahflee.com>2018-02-13 17:50:10 -0800
commit24b025419a34bc89cf61f500989ccf6b5e026ef0 (patch)
treebab9363f89ec56daf9d04ae8cddc4a875568a822 /onionshare_gui
parenta32778397aa8cbc4af9667c68b169105d01fe138 (diff)
downloadonionshare-24b025419a34bc89cf61f500989ccf6b5e026ef0.tar.gz
onionshare-24b025419a34bc89cf61f500989ccf6b5e026ef0.zip
Fix bug where persistent tooltips were not displaying
Diffstat (limited to 'onionshare_gui')
-rw-r--r--onionshare_gui/server_status.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/onionshare_gui/server_status.py b/onionshare_gui/server_status.py
index 654c4c28..1bd18e2f 100644
--- a/onionshare_gui/server_status.py
+++ b/onionshare_gui/server_status.py
@@ -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))