From 0a7464278805bee324ccecbe3a4b38cd0cbb2d1a Mon Sep 17 00:00:00 2001 From: kerry Date: Mon, 11 Sep 2017 17:23:17 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-4494=20&&=20REPORT-4373=20=E5=8C=BA?= =?UTF-8?q?=E5=88=86=E6=8C=89=E9=92=AE=E6=8E=A7=E4=BB=B6=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E5=92=8C=E9=87=8D=E6=96=B0=E9=80=89=E6=8B=A9=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/widget/WidgetPane.java | 4 +++- .../fr/design/widget/ui/ButtonDefinePane.java | 10 +++++++--- .../widget/component/CheckBoxDictPane.java | 4 +++- .../ui/designer/CheckBoxGroupDefinePane.java | 17 ++++++----------- .../ui/designer/ComboCheckBoxDefinePane.java | 14 ++++++-------- 5 files changed, 25 insertions(+), 24 deletions(-) diff --git a/designer/src/com/fr/design/widget/WidgetPane.java b/designer/src/com/fr/design/widget/WidgetPane.java index 61e79acb83..36f99491fd 100644 --- a/designer/src/com/fr/design/widget/WidgetPane.java +++ b/designer/src/com/fr/design/widget/WidgetPane.java @@ -92,7 +92,9 @@ public class WidgetPane extends AbstractAttrNoScrollPane implements ItemListener AttributeChangeListener listener = new AttributeChangeListener() { @Override public void attributeChange() { - CellWidgetPropertyPane.getInstance().update(); + if(shouldFireSelectedEvent){ + CellWidgetPropertyPane.getInstance().update(); + } } }; diff --git a/designer/src/com/fr/design/widget/ui/ButtonDefinePane.java b/designer/src/com/fr/design/widget/ui/ButtonDefinePane.java index 59a5b62bb2..e8ae05c313 100644 --- a/designer/src/com/fr/design/widget/ui/ButtonDefinePane.java +++ b/designer/src/com/fr/design/widget/ui/ButtonDefinePane.java @@ -28,6 +28,12 @@ public class ButtonDefinePane extends AbstractDataModify