Merge pull request #3014

829414e Transfer: fix 'Send' and 'Sweep' functionality (xiphon)
This commit is contained in:
luigi1111 2020-07-29 09:49:04 -05:00
commit 872b81fe39
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -50,7 +50,10 @@ Rectangle {
property alias contentHeight: mainFlickable.contentHeight
property alias flickable: mainFlickable
property Transfer transferView: Transfer { }
property Transfer transferView: Transfer {
onPaymentClicked: root.paymentClicked(address, paymentId, amount, mixinCount, priority, description)
onSweepUnmixableClicked: root.sweepUnmixableClicked()
}
property Receive receiveView: Receive { }
property Merchant merchantView: Merchant { }
property TxKey txkeyView: TxKey { }
@ -260,18 +263,4 @@ Rectangle {
anchors.bottom: parent.bottom
anchors.left: borderLeft.right
}
/* connect "payment" click */
Connections {
ignoreUnknownSignals: false
target: transferView
function paymentClicked(address, paymentId, amount, mixinCount, priority, description) {
console.log("MiddlePanel: paymentClicked")
paymentClicked(address, paymentId, amount, mixinCount, priority, description)
}
function onSweepUnmixableClicked() {
console.log("MiddlePanel: sweepUnmixableClicked")
sweepUnmixableClicked()
}
}
}