Fix case of null icon path

This commit is contained in:
Joshua Granick
2017-02-21 08:47:00 -08:00
parent 28b44ba6b5
commit 0dfc55f06e

View File

@@ -376,7 +376,7 @@ class IconHelper {
}
if (!FileSystem.exists (icon.path)) {
if (icon.path == null || !FileSystem.exists (icon.path)) {
LogHelper.warn ("Could not find icon path: " + icon.path);
return null;