From d49c8e2c13c85f9532a7aa1ee2f2f171f57f6f5c Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sun, 25 Sep 2011 10:01:36 -0400 Subject: [PATCH] Restore .pde sketches too (not just .ino ones). http://code.google.com/p/arduino/issues/detail?id=652 --- app/src/processing/app/Base.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 2326dbc80..680545e6d 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -349,10 +349,6 @@ public class Base { int opened = 0; for (int i = 0; i < count; i++) { String path = Preferences.get("last.sketch" + i + ".path"); - // don't automatically rename sketches that were left open from a - // pre-1.0 version of Arduino (wait for the user to explicitly open - // the sketch before renaming it). - if (path.toLowerCase().endsWith(".pde")) continue; int[] location; if (windowPositionValid) { String locationStr = Preferences.get("last.sketch" + i + ".location");