From 98ca3d3cac678aff17fbdae01dfd076cc959d472 Mon Sep 17 00:00:00 2001 From: xyzmaker123 Date: Tue, 9 Aug 2022 13:46:00 +0200 Subject: [PATCH] Send funds - don't use all available funds by default --- .../bisq/desktop/main/funds/withdrawal/WithdrawalView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java b/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java index 2b1a8011144..03eda3b666c 100644 --- a/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java +++ b/desktop/src/main/java/bisq/desktop/main/funds/withdrawal/WithdrawalView.java @@ -154,7 +154,7 @@ public class WithdrawalView extends ActivatableView { private ChangeListener transactionFeeChangeListener; private ToggleGroup feeToggleGroup, inputsToggleGroup; private ToggleButton useCustomFee; - private final BooleanProperty useAllInputs = new SimpleBooleanProperty(true); + private final BooleanProperty useAllInputs = new SimpleBooleanProperty(false); private boolean feeExcluded; private int rowIndex = 0; private final FeeService feeService; @@ -364,7 +364,7 @@ protected void activate() { feeToggleGroup.selectToggle(feeIncludedRadioButton); if (inputsToggleGroup.getSelectedToggle() == null) - inputsToggleGroup.selectToggle(useAllInputsRadioButton); + inputsToggleGroup.selectToggle(useAllInputs.get() ? useAllInputsRadioButton : useCustomInputsRadioButton); useCustomFee.setSelected(false); transactionFeeInputTextField.setEditable(false);