mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
correct bad theme entry with default value
This commit is contained in:
@@ -122,6 +122,8 @@ public class DrawingManager {
|
||||
} catch (Exception e) {
|
||||
LOG.error("Error loading theme", e);
|
||||
this.theme = Constants.DEFAULT_THEME;
|
||||
// replace bad value with default
|
||||
configManager.writeValue(IPlugInPort.THEME_KEY, Constants.DEFAULT_THEME);
|
||||
}
|
||||
|
||||
componentAreaMap = new HashMap<IDIYComponent<?>, ComponentArea>();
|
||||
|
||||
Reference in New Issue
Block a user