From 1f7af2f1ea22433e1c5f5ccb2c61dbfdca056fa1 Mon Sep 17 00:00:00 2001 From: XiaXiang Date: Fri, 15 Sep 2017 07:50:26 +0800 Subject: [PATCH] rt --- .../design/mainframe/alphafine/component/AlphaFineDialog.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java index a47bdfc80..34b0ff817 100644 --- a/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java +++ b/designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java @@ -672,8 +672,7 @@ public class AlphaFineDialog extends UIDialog { removeSearchResult(); } } else if (e.getKeyCode() == KeyEvent.VK_ENTER) { - searchResultList.requestFocus(); - searchResultList.setSelectedIndex(searchResultList.getSelectedIndex()); + dealWithSearchResult(searchResultList.getSelectedValue()); } } });