mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-03 10:46:54 +01:00
Reset trigger price after switch to fixed price (edit offer)
This commit is contained in:
parent
ec00c9962f
commit
c1ed35f8f0
1 changed files with 3 additions and 0 deletions
|
@ -1435,6 +1435,9 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel<?>> exten
|
|||
firstRowHBox.getChildren().add(2, fixedPriceBox);
|
||||
if (!secondRowHBox.getChildren().contains(percentagePriceBox))
|
||||
secondRowHBox.getChildren().add(2, percentagePriceBox);
|
||||
|
||||
model.triggerPrice.set("");
|
||||
model.onTriggerPriceTextFieldChanged();
|
||||
} else {
|
||||
firstRowHBox.getChildren().remove(fixedPriceBox);
|
||||
secondRowHBox.getChildren().remove(percentagePriceBox);
|
||||
|
|
Loading…
Add table
Reference in a new issue