mirror of https://github.com/noisymime/Arduino.git
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;
|
int opened = 0;
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
String path = Preferences.get("last.sketch" + i + ".path");
|
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;
|
int[] location;
|
||||||
if (windowPositionValid) {
|
if (windowPositionValid) {
|
||||||
String locationStr = Preferences.get("last.sketch" + i + ".location");
|
String locationStr = Preferences.get("last.sketch" + i + ".location");
|
||||||
|
|
Loading…
Reference in New Issue