From 22465b1b65b1f0aba83eed992ebd799767722b7b Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 2 Aug 2021 16:10:47 +0200 Subject: [PATCH] followup --- drongo | 2 +- src/main/java/com/sparrowwallet/sparrow/AppController.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drongo b/drongo index debafd42..8fd14ce1 160000 --- a/drongo +++ b/drongo @@ -1 +1 @@ -Subproject commit debafd42e8dd017779e193f609717a3eb72cd39a +Subproject commit 8fd14ce1338328efb6cea4e847766515b5b217a0 diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index 61a6c11a..57c0e980 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -1778,6 +1778,7 @@ public class AppController implements Initializable { @Subscribe public void walletTabsClosed(WalletTabsClosedEvent event) { + event.getClosedWalletTabData().stream().map(WalletTabData::getWallet).forEach(loadingWallets::remove); if(event.getClosedWalletTabData().stream().map(WalletTabData::getWallet).anyMatch(emptyLoadingWallets::remove) && emptyLoadingWallets.isEmpty()) { if(statusBar.getText().equals(LOADING_TRANSACTIONS_MESSAGE)) { statusBar.setText("");