diff options
author | Cozz Lovan <cozzlovan@yahoo.com> | 2014-01-21 23:39:29 +0100 |
---|---|---|
committer | Cozz Lovan <cozzlovan@yahoo.com> | 2014-01-21 23:54:49 +0100 |
commit | 22a51207ae1e05d2a14663c8e583dd3ab307693b (patch) | |
tree | 078e8f687d98c53fc3067cce82dbd74becdfdb2e /src/qt/walletmodel.cpp | |
parent | 250b4bcf6b368825ca6a49509f63026bd374efa4 (diff) |
[Qt] Show and store message of normal bitcoin:URI
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 14f29c933b..33db145db0 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(); |