disable rename wallet on transaction tab

This commit is contained in:
Craig Raw 2023-11-22 09:17:17 +02:00
parent 87e7a87e5e
commit bde8fef35e

View file

@ -107,6 +107,9 @@ public class AppController implements Initializable {
@FXML @FXML
private MenuItem exportWallet; private MenuItem exportWallet;
@FXML
private MenuItem renameWallet;
@FXML @FXML
private MenuItem deleteWallet; private MenuItem deleteWallet;
@ -382,6 +385,7 @@ public class AppController implements Initializable {
savePSBTBinary.disableProperty().bind(saveTransaction.visibleProperty()); savePSBTBinary.disableProperty().bind(saveTransaction.visibleProperty());
showPSBT.visibleProperty().bind(saveTransaction.visibleProperty().not()); showPSBT.visibleProperty().bind(saveTransaction.visibleProperty().not());
exportWallet.setDisable(true); exportWallet.setDisable(true);
renameWallet.disableProperty().bind(exportWallet.disableProperty());
deleteWallet.disableProperty().bind(exportWallet.disableProperty()); deleteWallet.disableProperty().bind(exportWallet.disableProperty());
closeTab.setDisable(true); closeTab.setDisable(true);
lockWallet.setDisable(true); lockWallet.setDisable(true);