Create alert popup if user wants to create new game schedule #49

Merged
fassband merged 2 commits from gameSchedule_Alert into main 2022-05-13 16:12:29 +02:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 7dea7919c5 - Show all commits

View File

@ -21,9 +21,7 @@ public class AlertDelete extends Alert {
public boolean showAndGetResult() { public boolean showAndGetResult() {
result = false; result = false;
showAndWait().ifPresent(type -> { showAndWait().ifPresent(type -> {
if (type == yesButton) { result = type == yesButton;
result = true;
}
}); });
return result; return result;
} }