mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
disable dispute summary cancel button after confirmed
This commit is contained in:
parent
09638d7046
commit
ec19a67626
@ -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 New Issue
Block a user