mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 02:02:42 +02:00
gui: Add wallet name to address book page
Extend addresstablemodel to return the display name from the wallet and set it to the addressbookpage window title when its model is set.
This commit is contained in:
@@ -451,3 +451,5 @@ void AddressTableModel::emitDataChanged(int idx)
|
||||
{
|
||||
Q_EMIT dataChanged(index(idx, 0, QModelIndex()), index(idx, columns.length()-1, QModelIndex()));
|
||||
}
|
||||
|
||||
QString AddressTableModel::GetWalletDisplayName() const { return walletModel->getDisplayName(); };
|
||||
|
||||
Reference in New Issue
Block a user