[Qt] make Out-Of-Sync warning icon clickable
This commit is contained in:
committed by
lateminer
parent
fbf2fff41f
commit
ae0210d70f
@@ -66,6 +66,7 @@ WalletView::WalletView(const PlatformStyle *_platformStyle, const Config *cfg, Q
|
||||
|
||||
// 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()));
|
||||
@@ -332,3 +333,8 @@ void WalletView::showProgress(const QString &title, int nProgress)
|
||||
else if (progressDialog)
|
||||
progressDialog->setValue(nProgress);
|
||||
}
|
||||
|
||||
void WalletView::requestedOfSyncWarningInfo()
|
||||
{
|
||||
Q_EMIT outOfSyncWarningClicked();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user