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")
|
||||
else:
|
||||
icon = QIcon(":icons/status_connected_proxy.png")
|
||||
else:
|
||||
if self.network.proxy:
|
||||
text = "{} ({})".format(_("Not connected"), _("proxy enabled"))
|
||||
else:
|
||||
text = _("Not connected")
|
||||
icon = QIcon(":icons/status_disconnected.png")
|
||||
|
|
Loading…
Add table
Reference in a new issue