aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorEmil Engler <me@emilengler.com>2020-01-13 19:50:44 +0100
committerEmil Engler <me@emilengler.com>2020-01-18 09:00:40 +0100
commitc4ea501e96363e937200bc97b8e2d78162bdb699 (patch)
tree06eaaff12260b7ed84cc8dfecc2d78ce4091a7a9 /src/qt/walletmodel.cpp
parent2ed74a43a05a47129d56117deeb489addbcaf05f (diff)
downloadbitcoin-c4ea501e96363e937200bc97b8e2d78162bdb699.tar.xz
qt: Hide non PKHash-Addresses in signing address book
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index fb92e29f21..9909810e06 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -563,3 +563,8 @@ bool WalletModel::isMultiwallet()
{
return m_node.getWallets().size() > 1;
}
+
+void WalletModel::refresh(bool pk_hash_only)
+{
+ addressTableModel = new AddressTableModel(this, pk_hash_only);
+}