mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
Program won't start with some older configuration files due to different
format of themes
This commit is contained in:
@@ -116,8 +116,13 @@ public class DrawingManager {
|
||||
this.messageDispatcher = messageDispatcher;
|
||||
this.configManager = configManager;
|
||||
|
||||
this.theme = (Theme) configManager.readObject(IPlugInPort.THEME_KEY,
|
||||
try {
|
||||
this.theme = (Theme) configManager.readObject(IPlugInPort.THEME_KEY,
|
||||
Constants.DEFAULT_THEME);
|
||||
} catch (Exception e) {
|
||||
LOG.error("Error loading theme", e);
|
||||
this.theme = Constants.DEFAULT_THEME;
|
||||
}
|
||||
|
||||
componentAreaMap = new HashMap<IDIYComponent<?>, ComponentArea>();
|
||||
lastDrawnStateMap = new HashMap<IDIYComponent<?>, ComponentState>();
|
||||
|
||||
@@ -3138,6 +3138,10 @@
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>"Outline Mode" produces rendering issues when "Cache Boost" feature is enabled</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Program won't start with some older configuration files due to different format of themes</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
|
||||
Reference in New Issue
Block a user