fix display bug

This commit is contained in:
2021-02-17 20:24:25 +00:00
parent 5adeae15a9
commit d38016a03f
7 changed files with 27 additions and 22 deletions

View File

@ -337,7 +337,11 @@ public class FileBrowserDialog extends TrayDialog {
if(f instanceof File) {
if(matchers.isEmpty()) return true;
for (PathMatcher m : matchers) {
try {
if(m.matches(((File)f).toPath())) return true;
} catch (Exception e) {
return false;
}
}
}
return false;