From 33a61e3414b9c4981352817e4d1900f40ad3604d Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 26 May 2022 09:31:38 +0200 Subject: [PATCH] set lock all wallet menu command on every wallet lock --- src/main/java/com/sparrowwallet/sparrow/AppController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index e5d65abb..32f2904e 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -2680,8 +2680,9 @@ public class AppController implements Initializable { if(selectedWalletForm != null && selectedWalletForm.getMasterWallet().equals(event.getWallet())) { lockWallet.setDisable(true); exportWallet.setDisable(true); - lockAllWallets.setDisable(allWalletsLocked(event.getWallet())); } + + lockAllWallets.setDisable(allWalletsLocked(event.getWallet())); } @Subscribe