mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
qt: network status text to tell user proxy is enabled when network can't connect
This commit is contained in:
parent
b88f0434c5
commit
a9bf664a5e
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue