diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-03-22 21:02:08 +0100 |
|---|---|---|
| committer | xmrdsc <xmrdsc@protonmail.com> | 2019-04-29 19:56:46 +0200 |
| commit | 18f2accc7f5ac0941c703a7cb4dd9cab2a2bca77 (patch) | |
| tree | b1aeea40a02d76c352097dde7514b849c0e91483 /pages | |
| parent | ff6ce6294b561a6f15769a8e7a8270d57d02f8de (diff) | |
| download | monzero-gui-18f2accc7f5ac0941c703a7cb4dd9cab2a2bca77.tar.gz monzero-gui-18f2accc7f5ac0941c703a7cb4dd9cab2a2bca77.tar.xz monzero-gui-18f2accc7f5ac0941c703a7cb4dd9cab2a2bca77.zip | |
IPC and custom protocol handler for monero://
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/Transfer.qml | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 6a8ea1be..09b3df58 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -708,10 +708,20 @@ Rectangle { } // Popuplate fields from addressbook. - function sendTo(address, paymentId, description){ - addressLine.text = address - setPaymentId(paymentId); - setDescription(description); + function sendTo(address, paymentId, description, amount){ + middlePanel.state = 'Transfer'; + + if(typeof address !== 'undefined') + addressLine.text = address + + if(typeof paymentId !== 'undefined') + setPaymentId(paymentId); + + if(typeof description !== 'undefined') + setDescription(description); + + if(typeof amount !== 'undefined') + amountLine.text = amount; } function updateSendButton(){ |
