1
0

qml: move menu back to topbar, move addresses and channels to walletdetails and

add walletdetails to topbar menu
This commit is contained in:
Sander van Grieken
2023-03-02 10:49:01 +01:00
parent 765d231209
commit f65158a23f
4 changed files with 44 additions and 46 deletions

View File

@@ -498,6 +498,21 @@ Pane {
visible: Daemon.currentWallet && Daemon.currentWallet.canHaveLightning && !Daemon.currentWallet.isLightning
icon.source: '../../icons/lightning.png'
}
FlatButton {
Layout.fillWidth: true
Layout.preferredWidth: 1
text: qsTr('Channels')
onClicked: app.stack.push(Qt.resolvedUrl('Channels.qml'))
visible: Daemon.currentWallet && Daemon.currentWallet.isLightning
icon.source: '../../icons/lightning.png'
}
FlatButton {
Layout.fillWidth: true
Layout.preferredWidth: 1
text: qsTr('Addresses')
onClicked: app.stack.push(Qt.resolvedUrl('Addresses.qml'))
icon.source: '../../icons/tab_addresses.png'
}
}
}