File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1877,11 +1877,6 @@ public void handleFontSizeChange(int change) {
18771877 getEditors ().forEach (Editor ::applyPreferences );
18781878 }
18791879
1880- // XXX: Remove this method and make librariesIndexer non-static
1881- static public LibraryList getLibraries () {
1882- return BaseNoGui .librariesIndexer .getInstalledLibraries ();
1883- }
1884-
18851880 public List <JMenu > getBoardsCustomMenus () {
18861881 return boardsCustomMenus ;
18871882 }
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public void reload() {
8989 File platformKeywords = new File (tp .getFolder (), "keywords.txt" );
9090 if (platformKeywords .exists ()) parseKeywordsTxt (platformKeywords );
9191 }
92- for (ContributedLibrary lib : Base . getLibraries ()) {
92+ for (ContributedLibrary lib : BaseNoGui . librariesIndexer . getInstalledLibraries ()) {
9393 File keywords = new File (lib .getInstalledFolder (), "keywords.txt" );
9494 if (keywords .exists ()) {
9595 parseKeywordsTxt (keywords );
You can’t perform that action at this time.
0 commit comments