IDEMPIERE-821 Zk: search editor always clear field content when user cancel the info dialog
This commit is contained in:
parent
38bfcb0c7e
commit
927b748ed5
|
@ -577,6 +577,13 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
||||||
else if (cancelled)
|
else if (cancelled)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.CONFIG)) log.config(getColumnName() + " - Result = null (cancelled)");
|
if (log.isLoggable(Level.CONFIG)) log.config(getColumnName() + " - Result = null (cancelled)");
|
||||||
|
if (value != null)
|
||||||
|
{
|
||||||
|
if (lookup.getDisplay(value).equals(getComponent().getText()))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
actionCombo(null);
|
actionCombo(null);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue