Browse Source

channel freeze menu items only enabled when channel is open

patch-4
Sander van Grieken 3 years ago
parent
commit
dc50da6c62
  1. 4
      electrum/gui/qml/components/ChannelDetails.qml

4
electrum/gui/qml/components/ChannelDetails.qml

@ -65,17 +65,17 @@ Pane {
MenuItem {
icon.color: 'transparent'
action: Action {
enabled: channeldetails.isOpen
text: channeldetails.frozenForSending ? qsTr('Unfreeze (for sending)') : qsTr('Freeze (for sending)')
onTriggered: channeldetails.freezeForSending()
//icon.source: '../../icons/wallet.png'
}
}
MenuItem {
icon.color: 'transparent'
action: Action {
enabled: channeldetails.isOpen
text: channeldetails.frozenForReceiving ? qsTr('Unfreeze (for receiving)') : qsTr('Freeze (for receiving)')
onTriggered: channeldetails.freezeForReceiving()
//icon.source: '../../icons/wallet.png'
}
}
}

Loading…
Cancel
Save