diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2016-10-24 07:21:51 +0000 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-03-06 12:03:26 +0800 |
commit | 85d5319716b7b31b27bc7950d756465ae472f11d (patch) | |
tree | 74dc713c03bcbf6608a8ad1e79a3e9a70b120c22 /src/qt/walletmodel.cpp | |
parent | e449f9a9e620fb909eb7b32d815b413d235f05ad (diff) |
Qt: Ensure UI updates only come from the currently selected walletView
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 34954a6bfa..df1a996af0 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -110,8 +110,9 @@ void WalletModel::updateStatus() { EncryptionStatus newEncryptionStatus = getEncryptionStatus(); - if(cachedEncryptionStatus != newEncryptionStatus) - Q_EMIT encryptionStatusChanged(newEncryptionStatus); + if(cachedEncryptionStatus != newEncryptionStatus) { + Q_EMIT encryptionStatusChanged(); + } } void WalletModel::pollBalanceChanged() |