We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 061d1f1 commit 8687a78Copy full SHA for 8687a78
app/src/processing/app/SketchData.java
@@ -123,7 +123,7 @@ protected void load() throws IOException {
123
// Don't allow people to use files with invalid names, since on load,
124
// it would be otherwise possible to sneak in nasty filenames. [0116]
125
if (BaseNoGui.isSanitaryName(base)) {
126
- addCode(new SketchCodeDocument(new File(folder, filename)));
+ addCode(new SketchCode(new File(folder, filename)));
127
} else {
128
System.err.println(I18n.format("File name {0} is invalid: ignored", filename));
129
}
0 commit comments