Browse Source

条件属性

条件属性切换形态问题
master
zpc 8 years ago
parent
commit
602e6d49a5
  1. 4
      designer/src/com/fr/design/condition/PresentHighlightPane.java

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

@ -109,11 +109,7 @@ public class PresentHighlightPane extends ConditionAttrSingleConditionPane<Highl
} }
public HighlightAction update() { public HighlightAction update() {
Object value = this.valueEditor.update();
if (presentComboBox.getSelectedIndex() == 1) { if (presentComboBox.getSelectedIndex() == 1) {
if (value instanceof String) {
present = new NormalPresent(this.valueEditor.update());
}
return new PresentHighlightAction(present); return new PresentHighlightAction(present);
} }
return new PresentHighlightAction(this.valueEditor.update()); return new PresentHighlightAction(this.valueEditor.update());

Loading…
Cancel
Save