mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
Disable the "Save transaction" menu item when starting app without any open tabs
This commit is contained in:
parent
447e2ab264
commit
f7f5852476
1 changed files with 1 additions and 0 deletions
|
@ -269,6 +269,7 @@ public class AppController implements Initializable {
|
||||||
showTxHex.setSelected(Config.get().isShowTransactionHex());
|
showTxHex.setSelected(Config.get().isShowTransactionHex());
|
||||||
showLoadingLog.setSelected(Config.get().isShowLoadingLog());
|
showLoadingLog.setSelected(Config.get().isShowLoadingLog());
|
||||||
showUtxosChart.setSelected(Config.get().isShowUtxosChart());
|
showUtxosChart.setSelected(Config.get().isShowUtxosChart());
|
||||||
|
saveTransaction.setDisable(true);
|
||||||
savePSBT.visibleProperty().bind(saveTransaction.visibleProperty().not());
|
savePSBT.visibleProperty().bind(saveTransaction.visibleProperty().not());
|
||||||
savePSBTBinary.disableProperty().bind(saveTransaction.visibleProperty());
|
savePSBTBinary.disableProperty().bind(saveTransaction.visibleProperty());
|
||||||
exportWallet.setDisable(true);
|
exportWallet.setDisable(true);
|
||||||
|
|
Loading…
Reference in a new issue