mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
gui: Show current wallet name in window title
This commit is contained in:
@@ -208,11 +208,17 @@ void WalletFrame::usedReceivingAddresses()
|
||||
walletView->usedReceivingAddresses();
|
||||
}
|
||||
|
||||
WalletView *WalletFrame::currentWalletView()
|
||||
WalletView* WalletFrame::currentWalletView() const
|
||||
{
|
||||
return qobject_cast<WalletView*>(walletStack->currentWidget());
|
||||
}
|
||||
|
||||
WalletModel* WalletFrame::currentWalletModel() const
|
||||
{
|
||||
WalletView* wallet_view = currentWalletView();
|
||||
return wallet_view ? wallet_view->getWalletModel() : nullptr;
|
||||
}
|
||||
|
||||
void WalletFrame::outOfSyncWarningClicked()
|
||||
{
|
||||
Q_EMIT requestedSyncWarningInfo();
|
||||
|
||||
Reference in New Issue
Block a user