Merge remote-tracking branch 'origin/patch'

This commit is contained in:
Ryan Kurtz 2023-11-21 12:24:28 -05:00
commit 4f8c920cce
16 changed files with 270 additions and 30 deletions

View file

@ -401,7 +401,10 @@ public class SpecExtensionPanel extends JPanel {
private static File getStartingDir() {
String lastDirectoryPath = Preferences.getProperty(LAST_EXPORT_DIRECTORY);
if (lastDirectoryPath != null) {
return new File(lastDirectoryPath);
File dir = new File(lastDirectoryPath);
if (dir.isDirectory()) {
return dir;
}
}
return new File(System.getProperty("user.home"));