diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-01-22 13:18:57 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-01-22 13:33:15 +0100 |
| commit | 7dbe9ac1f3cb600b562f86d17c361cac1b732693 (patch) | |
| tree | 6a67f881a35a7352b2c0465fed45d8c556774336 /src/qt/walletmodel.cpp | |
| parent | Merge pull request #1674 (diff) | |
| parent | [Qt] Show and store message of normal bitcoin:URI (diff) | |
| download | discoin-7dbe9ac1f3cb600b562f86d17c361cac1b732693.tar.xz discoin-7dbe9ac1f3cb600b562f86d17c361cac1b732693.zip | |
Merge pull request #3567
22a5120 [Qt] Show and store message of normal bitcoin:URI (Cozz Lovan)
Diffstat (limited to 'src/qt/walletmodel.cpp')
| -rw-r--r-- | src/qt/walletmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 01f5a304a..ddc8c6ea7 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -269,6 +269,8 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran rcp.paymentRequest.SerializeToString(&value); newTx->vOrderForm.push_back(make_pair(key, value)); } + else if (!rcp.message.isEmpty()) // Message from normal bitcoin:URI (bitcoin:123...?message=example) + newTx->vOrderForm.push_back(make_pair("Message", rcp.message.toStdString())); } CReserveKey *keyChange = transaction.getPossibleKeyChange(); |