mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Show placeholder when SVG is edited incorrectly
This commit is contained in:
@@ -108,6 +108,7 @@ public final class IfsUtil {
|
||||
SVGLoader.load(url.get(), new ByteArrayInputStream(content), 1.0f);
|
||||
}
|
||||
catch (Throwable t) {
|
||||
file.putUserData(IMAGE_PROVIDER_REF_KEY, null);
|
||||
LOG.warn(url.get() + " " + t.getMessage());
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user