diff --git a/src/main/java/com/sjhy/plugin/ui/TemplateSettingForm.java b/src/main/java/com/sjhy/plugin/ui/TemplateSettingForm.java index aec358b..4e3b2c2 100644 --- a/src/main/java/com/sjhy/plugin/ui/TemplateSettingForm.java +++ b/src/main/java/com/sjhy/plugin/ui/TemplateSettingForm.java @@ -131,7 +131,7 @@ public class TemplateSettingForm implements Configurable, BaseSettings { // 复制配置,防止篡改 this.templateGroupMap = CloneUtils.cloneByJson(settingsStorage.getTemplateGroupMap(), new TypeReference>() { }); - this.currTemplateGroup = this.templateGroupMap.get(settingsStorage.getCurrTypeMapperGroupName()); + this.currTemplateGroup = this.templateGroupMap.get(settingsStorage.getCurrTemplateGroupName()); if (this.currTemplateGroup == null) { this.currTemplateGroup = this.templateGroupMap.get(GlobalDict.DEFAULT_GROUP_NAME); }