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