last few minor touches

This commit is contained in:
Manindra Moharana
2014-01-21 16:25:18 +05:30
parent 27dc79e288
commit 848a38096e
2 changed files with 5 additions and 4 deletions

View File

@@ -891,13 +891,14 @@ public class DebugEditor extends JavaEditor implements ActionListener {
int response = Base
.showYesNoQuestion(this,
"Unsaved backup found!",
"An automatic backup of "
"An automatic backup of \""
+ pastSave.getParentFile().getName()
+ "sketch has been found. This may mean Processing quit unexpectedly last time.",
+ "\" sketch has been found. This may mean Processing " +
"was closed unexpectedly last time.",
"Select YES to view it or NO to delete the backup.");
if(response == JOptionPane.YES_OPTION){
handleOpenInternal(pastSave.getAbsolutePath());
Base.showMessage("Save it", "Remember to save the backup to a specific location if you want to.");
Base.showMessage("Save it..", "Remember to save the backup sketch to a specific location if you want to.");
//log(getSketch().getMainFilePath());
return;
}