From 7fd2900d3e6ea8ad3fcbeba7f87d7f0f06f400dc Mon Sep 17 00:00:00 2001 From: yaohwu Date: Mon, 8 Jun 2020 10:20:03 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-33162=20=E7=9B=91=E5=90=AC=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E6=94=B9=E5=8A=A8=E9=9D=A2=E6=9D=BF=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E5=AE=89=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cell/settingpane/CellExpandExtraAttrPane.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellExpandExtraAttrPane.java b/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellExpandExtraAttrPane.java index c59afcaf7d..13c288f925 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellExpandExtraAttrPane.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellExpandExtraAttrPane.java @@ -5,6 +5,7 @@ import com.fr.design.beans.BasicBeanPane; import com.fr.design.fun.CellExpandAttrPanelProvider; import com.fr.design.layout.TableLayout; import com.fr.design.layout.TableLayoutHelper; +import com.fr.design.ui.util.UIUtil; import com.fr.event.EventDispatcher; import com.fr.plugin.context.PluginContext; import com.fr.plugin.injectable.PluginModule; @@ -52,7 +53,12 @@ public class CellExpandExtraAttrPane extends JPanel { PluginEventListener listener = new PluginEventListener() { @Override public void on(PluginEvent event) { - CellExpandExtraAttrPane.getInstance().refresh(); + UIUtil.invokeLaterIfNeeded(new Runnable() { + @Override + public void run() { + CellExpandExtraAttrPane.getInstance().refresh(); + } + }); } }; EventDispatcher.listen(AfterRun, listener, filter);