jess 8 years ago
parent
commit
c33c887714
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ui/view/GUI.java

+ 1 - 1
src/ui/view/GUI.java

@@ -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);