mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Fixed examples search in fat-libraries
This commit is contained in:
parent
e18d2a018d
commit
b918faffbd
@ -1052,7 +1052,7 @@ public class Base {
|
||||
File folder = ideLibs.get(name);
|
||||
addSketchesSubmenu(menu, name, folder, false);
|
||||
// Allows "fat" libraries to have examples in the root folder
|
||||
if (folder.getName().equals(Base.getTargetPlatform()))
|
||||
if (folder.getName().equals(Base.getTargetPlatform().getName()))
|
||||
addSketchesSubmenu(menu, name, folder.getParentFile(), false);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user