|
@@ -1951,7 +1951,7 @@ public class GUI<E> implements CategoryListener {
|
|
|
|
|
|
String autoPath = System.getProperty("user.home") + "/HolonGUI/Autosave/";
|
|
|
File dest = new File(autoPath);
|
|
|
- if (controller.HasOldAutoSave()) {
|
|
|
+ if (dest.listFiles().length > 1) {
|
|
|
int dialogButton = JOptionPane.YES_NO_OPTION;
|
|
|
int dialogResult = JOptionPane.showConfirmDialog(null, "Old autosave file was found, should it be loaded?",
|
|
|
warningText, dialogButton);
|