XiaXiang 7 years ago
parent
commit
1f7af2f1ea
  1. 3
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java

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

@ -672,8 +672,7 @@ public class AlphaFineDialog extends UIDialog {
removeSearchResult(); removeSearchResult();
} }
} else if (e.getKeyCode() == KeyEvent.VK_ENTER) { } else if (e.getKeyCode() == KeyEvent.VK_ENTER) {
searchResultList.requestFocus(); dealWithSearchResult(searchResultList.getSelectedValue());
searchResultList.setSelectedIndex(searchResultList.getSelectedIndex());
} }
} }
}); });

Loading…
Cancel
Save