Restore .pde sketches too (not just .ino ones).

http://code.google.com/p/arduino/issues/detail?id=652
This commit is contained in:
David A. Mellis 2011-09-25 10:01:36 -04:00
parent 479fe85d27
commit d49c8e2c13
1 changed files with 0 additions and 4 deletions

View File

@ -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");