Skip to content

Commit d49c8e2

Browse files
committed
Restore .pde sketches too (not just .ino ones).
http://code.google.com/p/arduino/issues/detail?id=652
1 parent 479fe85 commit d49c8e2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/src/processing/app/Base.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,6 @@ protected boolean restoreSketches() {
349349
int opened = 0;
350350
for (int i = 0; i < count; i++) {
351351
String path = Preferences.get("last.sketch" + i + ".path");
352-
// don't automatically rename sketches that were left open from a
353-
// pre-1.0 version of Arduino (wait for the user to explicitly open
354-
// the sketch before renaming it).
355-
if (path.toLowerCase().endsWith(".pde")) continue;
356352
int[] location;
357353
if (windowPositionValid) {
358354
String locationStr = Preferences.get("last.sketch" + i + ".location");

0 commit comments

Comments
 (0)