Don't allow the user to select a directory for Volatility module

This commit is contained in:
Ann Priestman 2018-03-26 12:44:37 -04:00
parent 96485ded14
commit df9cbd9fde

View File

@ -363,9 +363,9 @@ final class MemoryDSInputPanel extends JPanel implements DocumentListener {
// display warning if there is one (but don't disable "next" button) // display warning if there is one (but don't disable "next" button)
warnIfPathIsInvalid(path); warnIfPathIsInvalid(path);
boolean isExist = new File(path).exists(); boolean isFile = new File(path).isFile();
return (isExist); return (isFile);
} }
/** /**