1
0

improve network status display and states of items when no wallet loaded

This commit is contained in:
Sander van Grieken
2022-06-15 11:39:46 +02:00
parent d3e88064d0
commit 5889c92e81
5 changed files with 17 additions and 24 deletions

View File

@@ -108,14 +108,13 @@ Pane {
Label {
text: qsTr('Lightning Routing')
enabled: Daemon.currentWallet.isLightning
}
ComboBox {
id: lnRoutingType
valueRole: 'key'
textRole: 'label'
enabled: Daemon.currentWallet.isLightning && false
enabled: Daemon.currentWallet != null && Daemon.currentWallet.isLightning && false
model: ListModel {
ListElement { key: 'gossip'; label: qsTr('Gossip') }
ListElement { key: 'trampoline'; label: qsTr('Trampoline') }