aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorCozz Lovan <[email protected]>2014-01-21 23:39:29 +0100
committerCozz Lovan <[email protected]>2014-01-21 23:54:49 +0100
commit22a51207ae1e05d2a14663c8e583dd3ab307693b (patch)
tree078e8f687d98c53fc3067cce82dbd74becdfdb2e /src/qt/walletmodel.cpp
parentMerge pull request #3564 (diff)
downloaddiscoin-22a51207ae1e05d2a14663c8e583dd3ab307693b.tar.xz
discoin-22a51207ae1e05d2a14663c8e583dd3ab307693b.zip
[Qt] Show and store message of normal bitcoin:URI
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 14f29c933..33db145db 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();