Skip to content

Commit 9fdb047

Browse files
ffissorecmaglie
authored andcommitted
removed check on .h file existence
1 parent d458ef7 commit 9fdb047

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/src/processing/app/Base.java

-5
Original file line numberDiff line numberDiff line change
@@ -2716,11 +2716,6 @@ public void handleAddLibrary(Editor editor) {
27162716
editor.statusError(mess);
27172717
return;
27182718
}
2719-
String[] headerFiles = headerListFromIncludePath(libFolder);
2720-
if (headerFiles == null || headerFiles.length == 0) {
2721-
editor.statusError(_("Not a valid library: no header files found"));
2722-
return;
2723-
}
27242719

27252720
// copy folder
27262721
File destinationFolder = new File(getSketchbookLibrariesFolder(), sourceFile.getName());

0 commit comments

Comments
 (0)