mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-04 04:45:10 +02:00
[Qt] make Out-Of-Sync warning icon clickable
This commit is contained in:
@@ -57,6 +57,8 @@ bool WalletFrame::addWallet(const QString& name, WalletModel *walletModel)
|
||||
// Ensure a walletView is able to show the main window
|
||||
connect(walletView, SIGNAL(showNormalIfMinimized()), gui, SLOT(showNormalIfMinimized()));
|
||||
|
||||
connect(walletView, SIGNAL(outOfSyncWarningClicked()), this, SLOT(outOfSyncWarningClicked()));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -195,3 +197,7 @@ WalletView *WalletFrame::currentWalletView()
|
||||
return qobject_cast<WalletView*>(walletStack->currentWidget());
|
||||
}
|
||||
|
||||
void WalletFrame::outOfSyncWarningClicked()
|
||||
{
|
||||
Q_EMIT requestedOfSyncWarningInfo();
|
||||
}
|
||||
Reference in New Issue
Block a user