From 103c45d4125bae4818cf3cc00379062035ef241e Mon Sep 17 00:00:00 2001 From: woodser Date: Sat, 23 Nov 2024 13:41:08 -0500 Subject: [PATCH] fix showing offer created popup after canceled --- .../java/haveno/desktop/main/offer/MutableOfferViewModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferViewModel.java b/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferViewModel.java index 66ca6475..fabad857 100644 --- a/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferViewModel.java +++ b/desktop/src/main/java/haveno/desktop/main/offer/MutableOfferViewModel.java @@ -613,7 +613,7 @@ public abstract class MutableOfferViewModel ext dataModel.onPlaceOffer(offer, transaction -> { resultHandler.run(); - placeOfferCompleted.set(true); + if (!createOfferCanceled) placeOfferCompleted.set(true); errorMessage.set(null); }, errMessage -> { createOfferRequested = false;