mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 19:49:32 +00:00
disable dispute summary cancel button after confirmed
This commit is contained in:
parent
09638d7046
commit
ec19a67626
1 changed files with 5 additions and 3 deletions
|
@ -594,9 +594,9 @@ public class DisputeSummaryWindow extends Overlay<DisputeSummaryWindow> {
|
|||
// 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<DisputeSummaryWindow> {
|
|||
}
|
||||
}
|
||||
|
||||
private void doClose(Button closeTicketButton) {
|
||||
private void doClose(Button closeTicketButton, Button cancelButton) {
|
||||
cancelButton.setDisable(true);
|
||||
|
||||
DisputeManager<? extends DisputeList<Dispute>> disputeManager = getDisputeManager(dispute);
|
||||
if (disputeManager == null) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue