mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 02:20:45 +01:00
minor bug fixes, make archive sketch auto-save before running
This commit is contained in:
@@ -298,7 +298,9 @@ public class Sketch {
|
||||
renamingCode = true;
|
||||
String prompt = (current == code[0]) ?
|
||||
"New name for sketch:" : "New name for file:";
|
||||
editor.status.edit(prompt, current.name);
|
||||
String oldName =
|
||||
(current.flavor == PDE) ? current.name : current.name + ".java";
|
||||
editor.status.edit(prompt, oldName);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user