From f7f58524766a140ac9baa7700d249c7d177e7b6d Mon Sep 17 00:00:00 2001 From: Haakon Nilsen Date: Wed, 26 May 2021 18:57:07 +0200 Subject: [PATCH] Disable the "Save transaction" menu item when starting app without any open tabs --- src/main/java/com/sparrowwallet/sparrow/AppController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/sparrowwallet/sparrow/AppController.java b/src/main/java/com/sparrowwallet/sparrow/AppController.java index f1aed537..dd6ab34d 100644 --- a/src/main/java/com/sparrowwallet/sparrow/AppController.java +++ b/src/main/java/com/sparrowwallet/sparrow/AppController.java @@ -269,6 +269,7 @@ public class AppController implements Initializable { showTxHex.setSelected(Config.get().isShowTransactionHex()); showLoadingLog.setSelected(Config.get().isShowLoadingLog()); showUtxosChart.setSelected(Config.get().isShowUtxosChart()); + saveTransaction.setDisable(true); savePSBT.visibleProperty().bind(saveTransaction.visibleProperty().not()); savePSBTBinary.disableProperty().bind(saveTransaction.visibleProperty()); exportWallet.setDisable(true);