From 4ad164f278718a023d2228303ecf8723ba92808b Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sat, 22 Dec 2012 14:55:00 +0000 Subject: [PATCH] fixed issue 529 http://code.google.com/p/jmonkeyengine/issues/detail?id=529&q=label%3AProduct-jME3&colspec=ID%20Type%20Status%20Component%20Priority%20Difficulty%20Product%20Milestone%20Owner%20Summary git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/desktop/com/jme3/system/JmeDesktopSystem.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java index 7bca9565d..fe36aff9b 100644 --- a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java +++ b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java @@ -103,7 +103,10 @@ public class JmeDesktopSystem extends JmeSystemDelegate { final AppSettings settings = new AppSettings(false); settings.copyFrom(sourceSettings); - String iconPath = sourceSettings.getSettingsDialogImage(); + String iconPath = sourceSettings.getSettingsDialogImage(); + if(iconPath == null){ + iconPath = ""; + } final URL iconUrl = JmeSystem.class.getResource(iconPath.startsWith("/") ? iconPath : "/" + iconPath); if (iconUrl == null) { throw new AssetNotFoundException(sourceSettings.getSettingsDialogImage());