rem..om 12 years ago
parent 9d88420dd3
commit 4ad164f278
  1. 5
      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());

Loading…
Cancel
Save