From 4e3be8f9e31be5ac9420eb22986df5e15a5f5f06 Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 30 Apr 2020 18:18:37 +0200 Subject: [PATCH] Fixed if all accounts have been selected displayed account transaction didn't get updated after an account has been deleted --- .../java/net/dankito/banking/ui/presenter/BankingPresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BankingUiCommon/src/main/java/net/dankito/banking/ui/presenter/BankingPresenter.kt b/BankingUiCommon/src/main/java/net/dankito/banking/ui/presenter/BankingPresenter.kt index d21a69b5..c2f4b0ef 100644 --- a/BankingUiCommon/src/main/java/net/dankito/banking/ui/presenter/BankingPresenter.kt +++ b/BankingUiCommon/src/main/java/net/dankito/banking/ui/presenter/BankingPresenter.kt @@ -219,7 +219,7 @@ open class BankingPresenter( callAccountsChangedListeners() - if (wasSelected) { + if (wasSelected || areAllAccountSelected) { // to update displayed account transactions as transactions of yet deleted accounts have to be removed selectedAllBankAccounts() } }