mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-23 22:39:33 -05: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