IDEMPIERE-2508:process non stop when enter continue to show info panel

This commit is contained in:
hieplq 2015-08-03 01:42:08 +08:00
parent 1c0bf34bd7
commit 8413fcb7ff
1 changed files with 2 additions and 1 deletions

View File

@ -1559,7 +1559,8 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
boolean isParameterChange = isParameteChangeValue(); boolean isParameterChange = isParameteChangeValue();
// when change parameter, also requery // when change parameter, also requery
if (isParameterChange){ if (isParameterChange){
onUserQuery(); if (!isQueryByUser)
onUserQuery();
}else if (m_lookup && contentPanel.getSelectedIndex() >= 0){ }else if (m_lookup && contentPanel.getSelectedIndex() >= 0){
// do nothing when parameter not change and at window mode, or at dialog mode but select non record // do nothing when parameter not change and at window mode, or at dialog mode but select non record
onOk(); onOk();