diff --git a/desktop/src/main/java/haveno/desktop/main/overlays/windows/DisputeSummaryWindow.java b/desktop/src/main/java/haveno/desktop/main/overlays/windows/DisputeSummaryWindow.java index a5e4a68338..ffe6741b28 100644 --- a/desktop/src/main/java/haveno/desktop/main/overlays/windows/DisputeSummaryWindow.java +++ b/desktop/src/main/java/haveno/desktop/main/overlays/windows/DisputeSummaryWindow.java @@ -594,9 +594,9 @@ public class DisputeSummaryWindow extends Overlay { // show confirmation showPayoutTxConfirmation(contract, payoutTx, - () -> doClose(closeTicketButton)); + () -> doClose(closeTicketButton, cancelButton)); } else { - doClose(closeTicketButton); + doClose(closeTicketButton, cancelButton); } }); @@ -653,7 +653,9 @@ public class DisputeSummaryWindow extends Overlay { } } - private void doClose(Button closeTicketButton) { + private void doClose(Button closeTicketButton, Button cancelButton) { + cancelButton.setDisable(true); + DisputeManager> disputeManager = getDisputeManager(dispute); if (disputeManager == null) { return;