diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index 99e23d3b..e9d0fd0e 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -1879,7 +1879,7 @@ public class AppController implements Initializable { if(optButtonType.isPresent() && optButtonType.get() == ButtonType.OK) { subTabs.getTabs().remove(subTab); if(subTabs.getTabs().size() == 1) { - setSubTabsVisible(subTabs, false); + setSubTabsVisible(subTabs, areSubTabsVisible()); } EventManager.get().post(new WalletDeletedEvent(wallet)); } diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/UtxosController.java b/src/main/java/com/sparrowwallet/sparrow/wallet/UtxosController.java index 92df0031..8b92122e 100644 --- a/src/main/java/com/sparrowwallet/sparrow/wallet/UtxosController.java +++ b/src/main/java/com/sparrowwallet/sparrow/wallet/UtxosController.java @@ -601,6 +601,11 @@ public class UtxosController extends WalletFormController implements Initializab Platform.runLater(this::updateMixToButton); } + @Subscribe + public void walletLabelChanged(WalletLabelChangedEvent event) { + Platform.runLater(this::updateMixToButton); + } + @Subscribe public void whirlpoolMix(WhirlpoolMixEvent event) { if(event.getWallet().equals(walletForm.getWallet())) {