mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
allow manual setting when disconnected
This commit is contained in:
parent
cce4a6c001
commit
a2ecc0e7bb
1 changed files with 1 additions and 1 deletions
|
@ -2179,7 +2179,7 @@ class ElectrumWindow(QMainWindow):
|
|||
for p in protocol_letters:
|
||||
i = protocol_letters.index(p)
|
||||
j = server_protocol.model().index(i,0)
|
||||
if p not in pp.keys():
|
||||
if p not in pp.keys() and interface.is_connected:
|
||||
server_protocol.model().setData(j, QtCore.QVariant(0), QtCore.Qt.UserRole-1)
|
||||
else:
|
||||
server_protocol.model().setData(j, QtCore.QVariant(0,False), QtCore.Qt.UserRole-1)
|
||||
|
|
Loading…
Add table
Reference in a new issue