From dee5a11e63a6d2544057fc0ada48d5258e068027 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 14 Dec 2023 18:54:17 -0500 Subject: [PATCH] subscribe to dispute state property to update dispute view --- .../java/haveno/desktop/main/support/dispute/DisputeView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeView.java b/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeView.java index 7a259d84..9d12c16c 100644 --- a/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeView.java +++ b/desktop/src/main/java/haveno/desktop/main/support/dispute/DisputeView.java @@ -1352,7 +1352,7 @@ public abstract class DisputeView extends ActivatableView { // subscribe to trade's dispute state Trade trade = tradeManager.getTrade(item.getTradeId()); if (trade == null) log.warn("Dispute's trade is null for trade {}", item.getTradeId()); - else subscription = EasyBind.subscribe(item.isClosedProperty(), closedProp -> setText(getDisputeStateText(item))); + else subscription = EasyBind.subscribe(trade.disputeStateProperty(), disputeState -> setText(getDisputeStateText(item))); } else { if (closedProperty != null) { closedProperty.removeListener(listener);