diff options
Diffstat (limited to 'src/qt/walletview.cpp')
-rw-r--r-- | src/qt/walletview.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp index 2326af80b6..725015a447 100644 --- a/src/qt/walletview.cpp +++ b/src/qt/walletview.cpp @@ -118,7 +118,7 @@ void WalletView::setWalletModel(WalletModel *_walletModel) // Handle changes in encryption status connect(_walletModel, &WalletModel::encryptionStatusChanged, this, &WalletView::encryptionStatusChanged); - updateEncryptionStatus(); + Q_EMIT encryptionStatusChanged(); // update HD status Q_EMIT hdEnabledStatusChanged(); @@ -211,11 +211,6 @@ void WalletView::showOutOfSyncWarning(bool fShow) overviewPage->showOutOfSyncWarning(fShow); } -void WalletView::updateEncryptionStatus() -{ - Q_EMIT encryptionStatusChanged(); -} - void WalletView::encryptWallet() { if(!walletModel) @@ -224,7 +219,7 @@ void WalletView::encryptWallet() dlg.setModel(walletModel); dlg.exec(); - updateEncryptionStatus(); + Q_EMIT encryptionStatusChanged(); } void WalletView::backupWallet() |