Browse Source

enable create button when sending max payment to a linked paynym

terminal
Craig Raw 3 years ago
parent
commit
689f4abfde
  1. 2
      src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java

2
src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java

@ -400,7 +400,7 @@ public class SendController extends WalletFormController implements Initializabl
transactionDiagram.update(walletTransaction); transactionDiagram.update(walletTransaction);
updatePrivacyAnalysis(walletTransaction); updatePrivacyAnalysis(walletTransaction);
createButton.setDisable(walletTransaction == null || isInsufficientFeeRate() || isPayNymMixOnlyPayment(walletTransaction.getPayments())); createButton.setDisable(walletTransaction == null || isInsufficientFeeRate() || isPayNymMixOnlyPayment(getPayments()));
}); });
transactionDiagram.sceneProperty().addListener((observable, oldScene, newScene) -> { transactionDiagram.sceneProperty().addListener((observable, oldScene, newScene) -> {

Loading…
Cancel
Save