Browse Source

Merge pull request #262 in BA/design from ~ZPC/basic_design:dev to dev

* commit '12144ba8e124c1fe24ac92e650042d6924330fbd':
  条件属性
master
superman 8 years ago
parent
commit
1e44466413
  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() {
Object value = this.valueEditor.update();
if (presentComboBox.getSelectedIndex() == 1) {
if (value instanceof String) {
present = new NormalPresent(this.valueEditor.update());
}
return new PresentHighlightAction(present);
}
return new PresentHighlightAction(this.valueEditor.update());

Loading…
Cancel
Save