aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-08-17 14:09:47 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-08-19 09:21:04 +0200
commit914154f0ccf2a18a273c7fdb3e80016732149303 (patch)
treef7b3c1f8a1e1550ee680c759ca9135f6c8e056ce /src/qt/walletmodel.cpp
parent1030fa718c59c29d3208af13e853457b7ac59d2e (diff)
downloadbitcoin-914154f0ccf2a18a273c7fdb3e80016732149303.tar.xz
[Qt] add HD enabled/disabled icon to the status bar
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 3867310cd6..ae7efc7a0d 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -683,3 +683,8 @@ bool WalletModel::abandonTransaction(uint256 hash) const
LOCK2(cs_main, wallet->cs_wallet);
return wallet->AbandonTransaction(hash);
}
+
+bool WalletModel::hdEnabled() const
+{
+ return wallet->IsHDEnabled();
+}