Permalink
Browse files

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

  • Loading branch information...
1 parent 479fe85 commit d49c8e2c13c85f9532a7aa1ee2f2f171f57f6f5c @damellis damellis committed Sep 25, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 app/src/processing/app/Base.java
@@ -349,10 +349,6 @@ protected boolean restoreSketches() {
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");

0 comments on commit d49c8e2

Please sign in to comment.