mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Restore .pde sketches too (not just .ino ones).
http://code.google.com/p/arduino/issues/detail?id=652
This commit is contained in:
parent
479fe85d27
commit
d49c8e2c13
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user