Browse Source

qt: network status text to tell user proxy is enabled when network can't connect

3.2.x
SomberNight 7 years ago
parent
commit
a9bf664a5e
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 5
      gui/qt/main_window.py

5
gui/qt/main_window.py

@ -733,7 +733,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
else:
icon = QIcon(":icons/status_connected_proxy.png")
else:
text = _("Not connected")
if self.network.proxy:
text = "{} ({})".format(_("Not connected"), _("proxy enabled"))
else:
text = _("Not connected")
icon = QIcon(":icons/status_disconnected.png")
self.tray.setToolTip("%s (%s)" % (text, self.wallet.basename()))

Loading…
Cancel
Save