From e99d82a97fd13a7f8977f6dbb9f4eac0af08ef04 Mon Sep 17 00:00:00 2001 From: "Mata.Li" Date: Tue, 27 Nov 2018 16:09:13 +0800 Subject: [PATCH] REPORT-12635 --- .../src/main/java/com/fr/design/web/CustomIconPane.java | 2 ++ .../src/main/java/com/fr/design/widget/IconDefinePane.java | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/web/CustomIconPane.java b/designer-base/src/main/java/com/fr/design/web/CustomIconPane.java index 90d5874ec..5ebf6a025 100644 --- a/designer-base/src/main/java/com/fr/design/web/CustomIconPane.java +++ b/designer-base/src/main/java/com/fr/design/web/CustomIconPane.java @@ -283,6 +283,8 @@ public class CustomIconPane extends BasicPane { } public String update() { + //把图标信息入库 + WidgetInfoConfig.getInstance().setIconManager(IconManager.getIconManager()); return selectedIconName; } diff --git a/designer-base/src/main/java/com/fr/design/widget/IconDefinePane.java b/designer-base/src/main/java/com/fr/design/widget/IconDefinePane.java index 3f45ba7d0..97ae0c66d 100644 --- a/designer-base/src/main/java/com/fr/design/widget/IconDefinePane.java +++ b/designer-base/src/main/java/com/fr/design/widget/IconDefinePane.java @@ -48,8 +48,6 @@ public class IconDefinePane extends BasicPane { curIconName = cip.update(); setShowIconImage(); IconDefinePane.this.repaint(); - //把图标信息入库 - WidgetInfoConfig.getInstance().setIconManager(IconManager.getIconManager()); } }); editDialog.setVisible(true);