mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #6316 from xyzmaker123/dont-use-all-utxos
Send funds - don't use all available funds by default
This commit is contained in:
commit
5b5d09db8d
@ -154,7 +154,7 @@ public class WithdrawalView extends ActivatableView<VBox, Void> {
|
|||||||
private ChangeListener<Number> transactionFeeChangeListener;
|
private ChangeListener<Number> transactionFeeChangeListener;
|
||||||
private ToggleGroup feeToggleGroup, inputsToggleGroup;
|
private ToggleGroup feeToggleGroup, inputsToggleGroup;
|
||||||
private ToggleButton useCustomFee;
|
private ToggleButton useCustomFee;
|
||||||
private final BooleanProperty useAllInputs = new SimpleBooleanProperty(true);
|
private final BooleanProperty useAllInputs = new SimpleBooleanProperty(false);
|
||||||
private boolean feeExcluded;
|
private boolean feeExcluded;
|
||||||
private int rowIndex = 0;
|
private int rowIndex = 0;
|
||||||
private final FeeService feeService;
|
private final FeeService feeService;
|
||||||
@ -364,7 +364,7 @@ public class WithdrawalView extends ActivatableView<VBox, Void> {
|
|||||||
feeToggleGroup.selectToggle(feeIncludedRadioButton);
|
feeToggleGroup.selectToggle(feeIncludedRadioButton);
|
||||||
|
|
||||||
if (inputsToggleGroup.getSelectedToggle() == null)
|
if (inputsToggleGroup.getSelectedToggle() == null)
|
||||||
inputsToggleGroup.selectToggle(useAllInputsRadioButton);
|
inputsToggleGroup.selectToggle(useAllInputs.get() ? useAllInputsRadioButton : useCustomInputsRadioButton);
|
||||||
|
|
||||||
useCustomFee.setSelected(false);
|
useCustomFee.setSelected(false);
|
||||||
transactionFeeInputTextField.setEditable(false);
|
transactionFeeInputTextField.setEditable(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user