load prev save better

This commit is contained in:
Manindra Moharana
2014-01-12 19:52:33 +05:30
parent 47a11b2f79
commit 7cb301e3b0
2 changed files with 7 additions and 6 deletions

View File

@@ -883,10 +883,10 @@ public class DebugEditor extends JavaEditor implements ActionListener {
"Select YES to view it or NO to delete the backup.");
if(response == JOptionPane.YES_OPTION){
handleOpenInternal(pastSave.getAbsolutePath());
//log(getSketch().getMainFilePath());
autosaver = new AutoSaveUtil(this, 5);
}
else{
autosaver.init();
}
autosaver.init();
}
/**