|
|
|
@ -49,6 +49,10 @@ public class AlphaFineList extends JList<AlphaCellModel> {
|
|
|
|
|
@Override |
|
|
|
|
public void keyPressed(KeyEvent e) { |
|
|
|
|
if (e.getKeyCode() == KeyEvent.VK_ENTER) { |
|
|
|
|
AlphaCellModel selectedValue = getSelectedValue(); |
|
|
|
|
if (selectedValue.hasAction() && !(selectedValue instanceof DocumentModel)) { |
|
|
|
|
AlphaFineHelper.getAlphaFineDialog().toBack(); |
|
|
|
|
} |
|
|
|
|
dealWithSearchResult(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|