qml: Only enable Invoices menu option when there is a wallet opened
This commit is contained in:
@@ -53,6 +53,7 @@ Item {
|
||||
action: Action {
|
||||
text: qsTr('Invoices');
|
||||
onTriggered: menu.openPage(Qt.resolvedUrl('Invoices.qml'))
|
||||
enabled: Daemon.currentWallet
|
||||
icon.source: '../../icons/tab_receive.png'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user