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. 3
      gui/qt/main_window.py

3
gui/qt/main_window.py

@ -732,6 +732,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
icon = QIcon(":icons/status_connected.png") icon = QIcon(":icons/status_connected.png")
else: else:
icon = QIcon(":icons/status_connected_proxy.png") icon = QIcon(":icons/status_connected_proxy.png")
else:
if self.network.proxy:
text = "{} ({})".format(_("Not connected"), _("proxy enabled"))
else: else:
text = _("Not connected") text = _("Not connected")
icon = QIcon(":icons/status_disconnected.png") icon = QIcon(":icons/status_disconnected.png")

Loading…
Cancel
Save