mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 00:57:59 +07:00
fix missing icons
This commit is contained in:
@@ -157,6 +157,7 @@ public final class IconLoader {
|
||||
|
||||
@Nullable
|
||||
public static Icon findIcon(final String path, final ClassLoader aClassLoader) {
|
||||
if (path.startsWith("AllIcons.")) return getReflectiveIcon(path);
|
||||
if (!path.startsWith("/")) return null;
|
||||
|
||||
final URL url = aClassLoader.getResource(path.substring(1));
|
||||
|
||||
Reference in New Issue
Block a user