commit a9bf664a5e007b764355fa5071c55df388a49adc
parent b88f0434c52a2696f5f58529cabb6044ab8f11f2
Author: SomberNight <somber.night@protonmail.com>
Date: Thu, 17 May 2018 00:48:14 +0200
qt: network status text to tell user proxy is enabled when network can't connect
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gui/qt/main_window.py b/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()))