Browse Source

patch两个pr

修复BaseStyleSettingPane中的bug,成员变量没初始化
feature/x
obo 1 year ago
parent
commit
913c9822b6
  1. 4
      designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java

4
designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java

@ -66,8 +66,8 @@ public abstract class BaseStyleSettingPane<T extends Widget> extends BasicBeanPa
// 按钮背景设置 // 按钮背景设置
protected ButtonStyleDefinedPane buttonStyleDefinedPane; protected ButtonStyleDefinedPane buttonStyleDefinedPane;
private Map<StyleSetting, UILabel> labelMap; private final Map<StyleSetting, UILabel> labelMap = new HashMap<>();
private Map<StyleSetting, Component> paneMap; private final Map<StyleSetting, Component> paneMap = new HashMap<>();
public BaseStyleSettingPane(List<StyleSetting> styleSettingList) { public BaseStyleSettingPane(List<StyleSetting> styleSettingList) {
this.styleSettingList = styleSettingList; this.styleSettingList = styleSettingList;

Loading…
Cancel
Save