Skip to content

Commit eec9d6e

Browse files
facchinmcmaglie
authored andcommitted
rescan libraries when installing from zip file
Fixes arduino#6960
1 parent 83c07cf commit eec9d6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: app/src/processing/app/Base.java

+1
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,7 @@ public void rebuildImportMenu(JMenu importMenu) {
10841084
addLibraryMenuItem.addActionListener(new ActionListener() {
10851085
public void actionPerformed(ActionEvent e) {
10861086
Base.this.handleAddLibrary();
1087+
BaseNoGui.librariesIndexer.rescanLibraries();
10871088
Base.this.onBoardOrPortChange();
10881089
Base.this.rebuildImportMenu(Editor.importMenu);
10891090
Base.this.rebuildExamplesMenu(Editor.examplesMenu);

0 commit comments

Comments
 (0)