From e993773d9f9a8c4534653381264c1917901e99d7 Mon Sep 17 00:00:00 2001 From: xyzmaker123 Date: Thu, 20 Jan 2022 12:06:51 +0100 Subject: [PATCH] Prevent reset offer values after switch to same currency payment account --- .../desktop/main/offer/bisq_v1/MutableOfferDataModel.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/offer/bisq_v1/MutableOfferDataModel.java b/desktop/src/main/java/bisq/desktop/main/offer/bisq_v1/MutableOfferDataModel.java index f5fdba99dc4..801a5c222e2 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/bisq_v1/MutableOfferDataModel.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/bisq_v1/MutableOfferDataModel.java @@ -329,10 +329,6 @@ void onPlaceOffer(Offer offer, TransactionResultHandler resultHandler) { 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;