Qt: Ensure UI updates only come from the currently selected walletView

This commit is contained in:
Luke Dashjr
2016-10-24 07:21:51 +00:00
committed by Jonas Schnelli
parent e449f9a9e6
commit 85d5319716
7 changed files with 32 additions and 10 deletions

View File

@@ -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()