Skip to content

Commit

Permalink
disable rename wallet on transaction tab
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Nov 22, 2023
1 parent 87e7a87 commit bde8fef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/com/sparrowwallet/sparrow/AppController.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ public class AppController implements Initializable {
@FXML
private MenuItem exportWallet;

@FXML
private MenuItem renameWallet;

@FXML
private MenuItem deleteWallet;

Expand Down Expand Up @@ -382,6 +385,7 @@ void initializeView() {
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);
Expand Down

0 comments on commit bde8fef

Please sign in to comment.