diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-19 15:27:14 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-08-26 09:53:09 +0200 |
commit | bd44a04dc3fe94d2764fadd9f9a7deb81ff49f45 (patch) | |
tree | ebfd15a3a1c3d083c1b16b147839001e66121549 /src/qt/walletview.cpp | |
parent | 0904c3cda4d1f40d41154bd9b2739660bdf12852 (diff) |
[Qt] make Out-Of-Sync warning icon clickable
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 495ebfd834..656b21586f 100644 --- a/src/qt/walletview.cpp +++ b/src/qt/walletview.cpp @@ -66,6 +66,7 @@ WalletView::WalletView(const PlatformStyle *platformStyle, QWidget *parent): // Clicking on a transaction on the overview pre-selects the transaction on the transaction history page connect(overviewPage, SIGNAL(transactionClicked(QModelIndex)), transactionView, SLOT(focusTransaction(QModelIndex))); + connect(overviewPage, SIGNAL(outOfSyncWarningClicked()), this, SLOT(requestedOfSyncWarningInfo())); // Double-clicking on a transaction on the transaction history page shows details connect(transactionView, SIGNAL(doubleClicked(QModelIndex)), transactionView, SLOT(showDetails())); @@ -322,3 +323,8 @@ void WalletView::showProgress(const QString &title, int nProgress) else if (progressDialog) progressDialog->setValue(nProgress); } + +void WalletView::requestedOfSyncWarningInfo() +{ + Q_EMIT outOfSyncWarningClicked(); +} |