diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-01 12:18:25 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-03-01 12:36:38 +0100 |
commit | be263faf871f244b2302b927a775c421044de79e (patch) | |
tree | 18f2550ee110958dab93544614c3cd67416ba9d5 /src/qt/sendcoinsdialog.cpp | |
parent | 32987d5aebc4e0fb757ad77dc727e5d7ee9d394b (diff) | |
parent | e7d9fc5c5316a63917e076ca58a0b552ea0d56ae (diff) | |
download | bitcoin-be263faf871f244b2302b927a775c421044de79e.tar.xz |
Merge #12421: [qt] navigate to transaction history page after send
e7d9fc5 [qt] navigate to transaction history page after send (Sjors Provoost)
Pull request description:
Before this change QT just remained on the Send tab, which I found confusing. Now it switches to the Transactions tab. This makes it more clear to the user that the send actually succeeded, and here they can monitor progress.
Ideally I would like to highlight the transaction, e.g. by refactoring `TransactionView::focusTransaction(const QModelIndex &idx)` to accept a transaction hash, but I'm not sure how to do that.
Tree-SHA512: 8aa93e03874de8434e18951f8aec47377814c0bcaf7eda4766fc41d5a4e32806346e12e4139e4d45468dfdf0b786f5a7faa393a31b8cd6c65ccac21fb3782c33
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 871822ccb4..ef36aab1a4 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -369,6 +369,7 @@ void SendCoinsDialog::on_sendButton_clicked() accept(); CoinControlDialog::coinControl()->UnSelectAll(); coinControlUpdateLabels(); + Q_EMIT coinsSent(currentTransaction.getTransaction()->GetHash()); } fNewRecipientAllowed = true; } |