Browse Source

检测到有可用项立即选中

master
XiaXiang 8 years ago
parent
commit
c1f5c68071
  1. 11
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java

11
designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java

@ -917,11 +917,20 @@ public class AlphaFineDialog extends UIDialog {
fireContentsChanged(this, index, index);
fireSelectedStateChanged(element, index);
}
/**
* 触发选中
* @param element
* @param index
*/
private void fireSelectedStateChanged(AlphaCellModel element, int index) {
if (element.hasAction() && !isSelected()) {
searchResultList.setSelectedIndex(index);
setSelected(true);
}
}
@Override

Loading…
Cancel
Save