diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-22 13:18:57 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-22 13:33:15 +0100 |
commit | 7dbe9ac1f3cb600b562f86d17c361cac1b732693 (patch) | |
tree | 6a67f881a35a7352b2c0465fed45d8c556774336 /src/qt/walletmodel.cpp | |
parent | 21d50c219da5430e68a358394daf691b6e3bb576 (diff) | |
parent | 22a51207ae1e05d2a14663c8e583dd3ab307693b (diff) |
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 01f5a304a9..ddc8c6ea79 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(); |