diff --git a/designer_form/src/com/fr/design/designer/creator/XCheckBox.java b/designer_form/src/com/fr/design/designer/creator/XCheckBox.java index 92c09aed7b..a16416c335 100644 --- a/designer_form/src/com/fr/design/designer/creator/XCheckBox.java +++ b/designer_form/src/com/fr/design/designer/creator/XCheckBox.java @@ -83,4 +83,12 @@ public class XCheckBox extends XWidgetCreator { protected String getIconName() { return "check_box_16.png"; } + + public void firePropertyChange(){ + ((UICheckBox) editor).setText(((CheckBox) data).getText()); + WidgetValue value = ((CheckBox) data).getWidgetValue(); + if (value != null && value.getValue() instanceof Boolean) { + ((UICheckBox) editor).setSelected((Boolean) value.getValue()); + } + } } \ No newline at end of file