Browse Source

设计器bug, 条件属性那边选普通形态, 无法保存公式, 日期等格式.

代码规范
master
zpc 9 years ago
parent
commit
419bb2347b
  1. 12
      designer/src/com/fr/design/condition/PresentHighlightPane.java

12
designer/src/com/fr/design/condition/PresentHighlightPane.java

@ -97,14 +97,16 @@ public class PresentHighlightPane extends ConditionAttrSingleConditionPane<Highl
}
public void populate(HighlightAction ha) {
present = ((PresentHighlightAction)ha).getPresent();
Object obj = ((PresentHighlightAction)ha).getValue();
if (!(present instanceof NormalPresent) && null == obj) {
int valueIndex = ((PresentHighlightAction)ha).getValueIndex();
if(0 == valueIndex)
{
presentComboBox.setSelectedIndex(1);
} else {
}
else {
presentComboBox.setSelectedIndex(0);
this.valueEditor.populate(obj);
this.valueEditor.populate(((PresentHighlightAction)ha).getValue());
}
}
public HighlightAction update() {

Loading…
Cancel
Save