mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Merge #8371: [Qt] Add out-of-sync modal info layer
08827df[Qt] modalinfolayer: removed unused comments, renamed signal, code style overhaul (Jonas Schnelli)d8b062e[Qt] only update "amount of blocks left" when the header chain is in-sync (Jonas Schnelli)e3245b4[Qt] add out-of-sync modal info layer (Jonas Schnelli)e47052f[Qt] ClientModel add method to get the height of the header chain (Jonas Schnelli)a001f18[Qt] Always pass the numBlocksChanged signal for headers tip changed (Jonas Schnelli)bd44a04[Qt] make Out-Of-Sync warning icon clickable (Jonas Schnelli)0904c3c[Refactor] refactor function that forms human readable text out of a timeoffset (Jonas Schnelli)
This commit is contained in:
@@ -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(requestedSyncWarningInfo()));
|
||||
|
||||
// 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::requestedSyncWarningInfo()
|
||||
{
|
||||
Q_EMIT outOfSyncWarningClicked();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user