qml: (trivial) fix warning in NetworkOverview.qml
10.95 | W | gui.qml.qeapp | file:///home/user/wspace/electrum/electrum/gui/qml/components/NetworkOverview.qml:220:25: Unable to assign [undefined] to QString
This commit is contained in:
@@ -216,7 +216,7 @@ Pane {
|
||||
}
|
||||
Label {
|
||||
visible: 'mode' in Network.proxy
|
||||
text: Network.isProxyTor ? 'TOR' : Network.proxy['mode']
|
||||
text: Network.isProxyTor ? 'TOR' : (Network.proxy['mode'] || '')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user