diff options
| author | Jonas Schnelli <[email protected]> | 2016-08-17 14:09:47 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-08-19 09:21:04 +0200 |
| commit | 914154f0ccf2a18a273c7fdb3e80016732149303 (patch) | |
| tree | f7b3c1f8a1e1550ee680c759ca9135f6c8e056ce /src/qt/walletmodel.cpp | |
| parent | Merge #8128: Net: Turn net structures into dumb storage classes (diff) | |
| download | discoin-914154f0ccf2a18a273c7fdb3e80016732149303.tar.xz discoin-914154f0ccf2a18a273c7fdb3e80016732149303.zip | |
[Qt] add HD enabled/disabled icon to the status bar
Diffstat (limited to 'src/qt/walletmodel.cpp')
| -rw-r--r-- | src/qt/walletmodel.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 3867310cd..ae7efc7a0 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(); +} |