Skip to content

Commit dbaad8b

Browse files
committed
no NPE
1 parent d110953 commit dbaad8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/processing/app/Mode.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,9 @@ public void rebuildExamplesFrame() {
590590
}
591591

592592
public void refreshExampleFrame() {
593-
examplesFrame.refresh();
593+
if (examplesFrame != null) {
594+
examplesFrame.refresh();
595+
}
594596
}
595597

596598

0 commit comments

Comments
 (0)