Skip to content

Commit bde8fef

Browse files
committed
disable rename wallet on transaction tab
1 parent 87e7a87 commit bde8fef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/sparrowwallet/sparrow/AppController.java

+4
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ public class AppController implements Initializable {
107107
@FXML
108108
private MenuItem exportWallet;
109109

110+
@FXML
111+
private MenuItem renameWallet;
112+
110113
@FXML
111114
private MenuItem deleteWallet;
112115

@@ -382,6 +385,7 @@ void initializeView() {
382385
savePSBTBinary.disableProperty().bind(saveTransaction.visibleProperty());
383386
showPSBT.visibleProperty().bind(saveTransaction.visibleProperty().not());
384387
exportWallet.setDisable(true);
388+
renameWallet.disableProperty().bind(exportWallet.disableProperty());
385389
deleteWallet.disableProperty().bind(exportWallet.disableProperty());
386390
closeTab.setDisable(true);
387391
lockWallet.setDisable(true);

0 commit comments

Comments
 (0)