Skip to content

Commit 25acf30

Browse files
committed
Add a note by rebuildImportMenu() about not breaking the menu expansion
1 parent f59ffa8 commit 25acf30

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/processing/app/Base.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -950,6 +950,9 @@ protected void rebuildSketchbookMenu(JMenu menu) {
950950
}
951951

952952

953+
// NOTE(remoun): This method is called whenever the Sketch > Import Library
954+
// menu is expanded, so make sure not to break that completely.
955+
// Showing an error dialog and skipping invalid entries is fine.
953956
public void rebuildImportMenu(final Editor editor) {
954957
JMenu importMenu = Editor.importMenu;
955958
importMenu.removeAll();

0 commit comments

Comments
 (0)