diff options
| author | Sjors Provoost <[email protected]> | 2018-03-01 10:40:36 +0100 |
|---|---|---|
| committer | Sjors Provoost <[email protected]> | 2018-03-01 10:40:36 +0100 |
| commit | e7d9fc5c5316a63917e076ca58a0b552ea0d56ae (patch) | |
| tree | ba6d8fe20433a696f1c8781a99d3e25e2e173d3c /src/qt/walletview.cpp | |
| parent | Merge #12416: Fix Windows build errors introduced in #10498 (diff) | |
| download | discoin-e7d9fc5c5316a63917e076ca58a0b552ea0d56ae.tar.xz discoin-e7d9fc5c5316a63917e076ca58a0b552ea0d56ae.zip | |
[qt] navigate to transaction history page after send
The transaction will be selected. When sending to multiple
destinations, all will be selected (thanks @promag).
Diffstat (limited to 'src/qt/walletview.cpp')
| -rw-r--r-- | src/qt/walletview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp index 7eced9289..64497a343 100644 --- a/src/qt/walletview.cpp +++ b/src/qt/walletview.cpp @@ -68,6 +68,9 @@ WalletView::WalletView(const PlatformStyle *_platformStyle, QWidget *parent): connect(overviewPage, SIGNAL(transactionClicked(QModelIndex)), transactionView, SLOT(focusTransaction(QModelIndex))); connect(overviewPage, SIGNAL(outOfSyncWarningClicked()), this, SLOT(requestedSyncWarningInfo())); + // Highlight transaction after send + connect(sendCoinsPage, SIGNAL(coinsSent(uint256)), transactionView, SLOT(focusTransaction(uint256))); + // Double-clicking on a transaction on the transaction history page shows details connect(transactionView, SIGNAL(doubleClicked(QModelIndex)), transactionView, SLOT(showDetails())); @@ -91,6 +94,9 @@ void WalletView::setBitcoinGUI(BitcoinGUI *gui) // Clicking on a transaction on the overview page simply sends you to transaction history page connect(overviewPage, SIGNAL(transactionClicked(QModelIndex)), gui, SLOT(gotoHistoryPage())); + // Navigate to transaction history page after send + connect(sendCoinsPage, SIGNAL(coinsSent(uint256)), gui, SLOT(gotoHistoryPage())); + // Receive and report messages connect(this, SIGNAL(message(QString,QString,unsigned int)), gui, SLOT(message(QString,QString,unsigned int))); |