mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
Transfer: fix 'Send' and 'Sweep' functionality
This commit is contained in:
parent
c137a6ea36
commit
829414ed01
1 changed files with 4 additions and 15 deletions
|
@ -50,7 +50,10 @@ Rectangle {
|
||||||
property alias contentHeight: mainFlickable.contentHeight
|
property alias contentHeight: mainFlickable.contentHeight
|
||||||
property alias flickable: mainFlickable
|
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 Receive receiveView: Receive { }
|
||||||
property Merchant merchantView: Merchant { }
|
property Merchant merchantView: Merchant { }
|
||||||
property TxKey txkeyView: TxKey { }
|
property TxKey txkeyView: TxKey { }
|
||||||
|
@ -260,18 +263,4 @@ Rectangle {
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.left: borderLeft.right
|
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()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue