aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addresstablemodel.h
diff options
context:
space:
mode:
authorpablomartin4btc <pablomartin4btc@gmail.com>2023-09-13 15:01:38 -0300
committerpablomartin4btc <pablomartin4btc@gmail.com>2023-10-04 17:01:49 -0300
commit58c9b50a952951cb326c99ba86cb706a1e7d533e (patch)
tree0bd58c7dbc5c751e0bc858b6066acb02044ff3bd /src/qt/addresstablemodel.h
parentab163b0fb5bc9c4ec12f03b57ace1753354e05cf (diff)
downloadbitcoin-58c9b50a952951cb326c99ba86cb706a1e7d533e.tar.xz
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.
Diffstat (limited to 'src/qt/addresstablemodel.h')
-rw-r--r--src/qt/addresstablemodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/addresstablemodel.h b/src/qt/addresstablemodel.h
index 599aa89cad..44808364ec 100644
--- a/src/qt/addresstablemodel.h
+++ b/src/qt/addresstablemodel.h
@@ -87,6 +87,8 @@ public:
OutputType GetDefaultAddressType() const;
+ QString GetWalletDisplayName() const;
+
private:
WalletModel* const walletModel;
AddressTablePriv *priv = nullptr;