mirror of
https://github.com/deathmarine/Luyten.git
synced 2025-02-21 15:00:53 +00:00
Closes #31 - FileChooser not accepting Directorys
This commit is contained in:
parent
80bd8d0591
commit
85db51db5b
@ -121,7 +121,7 @@ public class FileDialog {
|
||||
@Override
|
||||
public boolean accept(File f) {
|
||||
if (f.isDirectory())
|
||||
return false;
|
||||
return true;
|
||||
return f.getName().toLowerCase().endsWith(objType.substring(1));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user