We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b1b83c0 + 2dbe005 commit 26028afCopy full SHA for 26028af
app/src/processing/app/Editor.java
@@ -2212,7 +2212,7 @@ protected boolean handleOpenInternal(File sketchFile) {
2212
// copy the sketch inside
2213
File properPdeFile = new File(properFolder, sketchFile.getName());
2214
try {
2215
- Base.copyFile(file, properPdeFile);
+ Base.copyFile(sketchFile, properPdeFile);
2216
} catch (IOException e) {
2217
Base.showWarning(_("Error"), _("Could not copy to a proper location."), e);
2218
return false;
0 commit comments