correct bad theme entry with default value

This commit is contained in:
bancika
2020-06-02 14:06:21 +02:00
parent 25d9ff302f
commit 972635b679
@@ -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>();