This commit is contained in:
Craig Raw 2021-08-02 16:10:47 +02:00
parent b91e8eab51
commit 22465b1b65
2 changed files with 2 additions and 1 deletions

2
drongo

@ -1 +1 @@
Subproject commit debafd42e8dd017779e193f609717a3eb72cd39a Subproject commit 8fd14ce1338328efb6cea4e847766515b5b217a0

View file

@ -1778,6 +1778,7 @@ public class AppController implements Initializable {
@Subscribe @Subscribe
public void walletTabsClosed(WalletTabsClosedEvent event) { 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(event.getClosedWalletTabData().stream().map(WalletTabData::getWallet).anyMatch(emptyLoadingWallets::remove) && emptyLoadingWallets.isEmpty()) {
if(statusBar.getText().equals(LOADING_TRANSACTIONS_MESSAGE)) { if(statusBar.getText().equals(LOADING_TRANSACTIONS_MESSAGE)) {
statusBar.setText(""); statusBar.setText("");