diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index d1f1e207..86c42076 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -107,6 +107,9 @@ public class AppController implements Initializable { @FXML private MenuItem exportWallet; + @FXML + private MenuItem renameWallet; + @FXML private MenuItem deleteWallet; @@ -382,6 +385,7 @@ public class AppController implements Initializable { savePSBTBinary.disableProperty().bind(saveTransaction.visibleProperty()); showPSBT.visibleProperty().bind(saveTransaction.visibleProperty().not()); exportWallet.setDisable(true); + renameWallet.disableProperty().bind(exportWallet.disableProperty()); deleteWallet.disableProperty().bind(exportWallet.disableProperty()); closeTab.setDisable(true); lockWallet.setDisable(true);