A small fix to allow processing to run

This commit is contained in:
Patrick Vares
2015-01-29 18:11:51 -05:00
parent 0b941e1612
commit 2f46c7b07a
+6 -3
View File
@@ -1210,10 +1210,13 @@ public class Sketch {
current = code[which];
currentIndex = which;
current.visited = System.currentTimeMillis();
editor.setCode(current);
try {
editor.setCode(current);
// editor.header.rebuild();
editor.header.repaint();
editor.header.repaint();
} catch (NullPointerException e) {
e.printStackTrace();
}
}