提交 203d62fa 编写于 作者: A alexsch

8066142: Edit the value in the text field and then press the tab key, the number don't increase

Reviewed-by: serb, azvegint
上级 de669969
......@@ -1308,8 +1308,8 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible {
*/
public void actionPerformed(ActionEvent e) {
ComboBoxEditor editor = getEditor();
if ((editor != null) && (e != null)
&& (editor.getEditorComponent() == e.getSource())) {
if ((editor != null) && (e != null) && (editor == e.getSource()
|| editor.getEditorComponent() == e.getSource())) {
setPopupVisible(false);
getModel().setSelectedItem(editor.getItem());
String oldCommand = getActionCommand();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册