修复BUG,当初始未完成时,插件进行修改判断

This commit is contained in:
makejava 2018-07-30 11:52:16 +08:00
parent 6c8456e8e4
commit 559ade01ec
1 changed files with 4 additions and 1 deletions

View File

@ -96,7 +96,10 @@ public class TemplateSettingPanel extends AbstractGroupPanel<TemplateGroup, Temp
*/
@Override
public boolean isModified() {
editTemplatePanel.refresh();
// 修复BUG当初始未完成时插件进行修改判断
if (editTemplatePanel!=null) {
editTemplatePanel.refresh();
}
return !configInfo.getTemplateGroupMap().equals(group) || !configInfo.getCurrTemplateGroupName().equals(currGroupName);
}