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:
pablomartin4btc
2023-09-13 15:01:38 -03:00
parent ab163b0fb5
commit 58c9b50a95
4 changed files with 20 additions and 11 deletions

View File

@@ -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(); };