[Qt] make Out-Of-Sync warning icon clickable
This commit is contained in:
committed by
lateminer
parent
fbf2fff41f
commit
ae0210d70f
@@ -58,6 +58,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;
|
||||
}
|
||||
|
||||
@@ -206,3 +208,7 @@ WalletView *WalletFrame::currentWalletView()
|
||||
return qobject_cast<WalletView*>(walletStack->currentWidget());
|
||||
}
|
||||
|
||||
void WalletFrame::outOfSyncWarningClicked()
|
||||
{
|
||||
Q_EMIT requestedOfSyncWarningInfo();
|
||||
}
|
||||
Reference in New Issue
Block a user