Browse Source

代码质量

代码质量
master
zpc 8 years ago
parent
commit
baa85099e6
  1. 12
      designer/src/com/fr/design/condition/PresentHighlightPane.java

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

@ -98,15 +98,11 @@ public class PresentHighlightPane extends ConditionAttrSingleConditionPane<Highl
public void populate(HighlightAction ha) {
int valueIndex = ((PresentHighlightAction)ha).getValueIndex();
if(0 == valueIndex)
{
presentComboBox.setSelectedIndex(1);
Object obj = ((PresentHighlightAction)ha).getValue();
presentComboBox.setSelectedIndex(valueIndex);
if(null != obj) {
this.valueEditor.populate(obj);
}
else {
presentComboBox.setSelectedIndex(0);
this.valueEditor.populate(((PresentHighlightAction)ha).getValue());
}
}
public HighlightAction update() {

Loading…
Cancel
Save