From 1bc6a9fc90adb87bffa8a116858b0f325c22399b Mon Sep 17 00:00:00 2001 From: jmacxx <47253594+jmacxx@users.noreply.github.com> Date: Fri, 1 Sep 2023 10:36:24 -0500 Subject: [PATCH] Allow arbitration tickets to be manually reopened. This is useful in cases where a user did not receive the ticket closure message: The user messages the arbitrator asking for clarification. Arbitrator re-opens the ticket and re-sends the closing message. --- .../java/bisq/desktop/main/support/dispute/DisputeView.java | 4 ++++ .../main/support/dispute/agent/mediation/MediatorView.java | 3 --- .../support/dispute/client/mediation/MediationClientView.java | 3 --- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/desktop/src/main/java/bisq/desktop/main/support/dispute/DisputeView.java b/desktop/src/main/java/bisq/desktop/main/support/dispute/DisputeView.java index 3f6959363f4..1d4c0afccb5 100644 --- a/desktop/src/main/java/bisq/desktop/main/support/dispute/DisputeView.java +++ b/desktop/src/main/java/bisq/desktop/main/support/dispute/DisputeView.java @@ -323,6 +323,10 @@ public void initialize() { root.getChildren().addAll(filterBox, tableView); setupTable(); + + openOrCloseButton.setVisible(true); + openOrCloseButton.setManaged(true); + setupReOpenDisputeListener(); } @Override diff --git a/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/mediation/MediatorView.java b/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/mediation/MediatorView.java index f82852a8b97..733a9b00d8e 100644 --- a/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/mediation/MediatorView.java +++ b/desktop/src/main/java/bisq/desktop/main/support/dispute/agent/mediation/MediatorView.java @@ -85,9 +85,6 @@ public MediatorView(MediationManager mediationManager, @Override public void initialize() { super.initialize(); - openOrCloseButton.setVisible(true); - openOrCloseButton.setManaged(true); - setupReOpenDisputeListener(); } @Override diff --git a/desktop/src/main/java/bisq/desktop/main/support/dispute/client/mediation/MediationClientView.java b/desktop/src/main/java/bisq/desktop/main/support/dispute/client/mediation/MediationClientView.java index 9c6db9432fd..6a69de5978a 100644 --- a/desktop/src/main/java/bisq/desktop/main/support/dispute/client/mediation/MediationClientView.java +++ b/desktop/src/main/java/bisq/desktop/main/support/dispute/client/mediation/MediationClientView.java @@ -76,9 +76,6 @@ public MediationClientView(MediationManager mediationManager, @Override public void initialize() { super.initialize(); - openOrCloseButton.setVisible(true); - openOrCloseButton.setManaged(true); - setupReOpenDisputeListener(); } @Override