IDEMPIERE-169 Query on detail tab is wrongly preserved when changin master record

http://jira.idempiere.com/browse/IDEMPIERE-169
This commit is contained in:
Carlos Ruiz 2012-03-03 19:02:46 -05:00
parent 8f0a54ecdd
commit f958219a71
1 changed files with 2 additions and 0 deletions

View File

@ -667,6 +667,8 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
// Same link value?
if (refresh)
refresh = m_linkValue.equals(value);
if (! m_linkValue.equals(value))
setQuery(null);
m_linkValue = value;
// Check validity
if (value.length() == 0)