We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56b9f1c commit 17115b0Copy full SHA for 17115b0
app/src/processing/app/Base.java
@@ -988,6 +988,8 @@ public LibraryList getUserLibs() {
988
}
989
990
public void rebuildImportMenu(JMenu importMenu) {
991
+ if (importMenu == null)
992
+ return;
993
importMenu.removeAll();
994
995
JMenuItem addLibraryMenuItem = new JMenuItem(_("Add Library..."));
@@ -1035,6 +1037,8 @@ public void actionPerformed(ActionEvent e) {
1035
1037
1036
1038
1039
public void rebuildExamplesMenu(JMenu menu) {
1040
+ if (menu == null)
1041
1042
try {
1043
menu.removeAll();
1044
0 commit comments