tqt: network status text to tell user proxy is enabled when network can't connect - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a9bf664a5e007b764355fa5071c55df388a49adc DIR parent b88f0434c52a2696f5f58529cabb6044ab8f11f2 HTML 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: M gui/qt/main_window.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -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()))