Browse Source

Pull request #4465: REPORT-52928 快捷配置使用埋点的数据没保存

Merge in DESIGN/design from ~TOMMY/design:feature/10.0 to feature/10.0

* commit '2a6714840724cc9ae7e83bb3415a02e2ecdf5566':
  REPORT-52928 快捷配置使用埋点的数据没保存
feature/10.0
Tommy 4 years ago
parent
commit
06dbea1aac
  1. 2
      designer-realize/src/main/java/com/fr/design/share/ui/config/ShareConfigPane.java

2
designer-realize/src/main/java/com/fr/design/share/ui/config/ShareConfigPane.java

@ -17,6 +17,7 @@ import com.fr.design.mainframe.DesignerFrame;
import com.fr.design.mainframe.share.collect.ComponentCollector;
import com.fr.design.mainframe.share.ui.base.PlaceholderTextArea;
import com.fr.design.mainframe.share.util.ShareComponentUtils;
import com.fr.design.share.SharableManager;
import com.fr.design.share.effect.EffectItemGroup;
import com.fr.design.share.utils.EffectItemUtils;
import com.fr.design.share.utils.ShareDialogUtils;
@ -201,6 +202,7 @@ public class ShareConfigPane extends BasicPane {
}
HistoryTemplateListCache.getInstance().getCurrentEditingTemplate().saveTemplate();
ComponentCollector.getInstance().setHelpConfigUseInfo(ShareComponentUtils.getCurrentTemplateID(), ShareComponentUtils.getWidgetId(widget));
SharableManager.saveTemplate(HistoryTemplateListCache.getInstance().getCurrentEditingTemplate());
}
});
dialog.setVisible(true);

Loading…
Cancel
Save