Fix sorting crash

This commit is contained in:
Michael Mikovsky
2025-04-13 10:45:33 -06:00
parent c8c278b316
commit 50419e284c
3 changed files with 7 additions and 4 deletions
@@ -102,7 +102,7 @@ public class AlertManager {
if(!errorList.isEmpty())
alert.setNeutralButton("View Detailed Error" + (errorList.size() != 1 ? "s" : ""), (dialogInterface, i) -> alert("Details", detailedErrors));
alert.setOnDismissListener((x) -> {if(currentError != null){errorList.clear(); simpleErrorList.clear();}});
// alert.setOnDismissListener((x) -> {if(currentError != null){errorList.clear(); simpleErrorList.clear();}});
alert.setCancelable(true);
currentError = alert.create();