mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-07 01:54:26 +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);
|
File folder = ideLibs.get(name);
|
||||||
addSketchesSubmenu(menu, name, folder, false);
|
addSketchesSubmenu(menu, name, folder, false);
|
||||||
// Allows "fat" libraries to have examples in the root folder
|
// 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);
|
addSketchesSubmenu(menu, name, folder.getParentFile(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user