aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorEmil Engler <[email protected]>2020-01-13 19:50:44 +0100
committerEmil Engler <[email protected]>2020-01-18 09:00:40 +0100
commitc4ea501e96363e937200bc97b8e2d78162bdb699 (patch)
tree06eaaff12260b7ed84cc8dfecc2d78ce4091a7a9 /src/qt/walletmodel.cpp
parentMerge #16945: refactor: introduce CChainState::GetCoinsCacheSizeState (diff)
downloaddiscoin-c4ea501e96363e937200bc97b8e2d78162bdb699.tar.xz
discoin-c4ea501e96363e937200bc97b8e2d78162bdb699.zip
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 fb92e29f2..9909810e0 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);
+}