mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
Merge pull request #5983 from xyzmaker123/5973-edit-offer-button-disability-fix
Prevent reset offer values after switch to same currency payment account
This commit is contained in:
commit
44b02b3cbb
@ -329,10 +329,6 @@ public abstract class MutableOfferDataModel extends OfferDataModel implements Bs
|
||||
|
||||
void onPaymentAccountSelected(PaymentAccount paymentAccount) {
|
||||
if (paymentAccount != null && !this.paymentAccount.equals(paymentAccount)) {
|
||||
volume.set(null);
|
||||
minVolume.set(null);
|
||||
price.set(null);
|
||||
marketPriceMargin = 0;
|
||||
preferences.setSelectedPaymentAccountForCreateOffer(paymentAccount);
|
||||
this.paymentAccount = paymentAccount;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user