IDEMPIERE-1198 value in textbox isn't manipulation
This commit is contained in:
parent
a128d9b302
commit
099e1bf880
|
@ -466,10 +466,12 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
||||||
value = ((Object[])value)[0];
|
value = ((Object[])value)[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value == null && getValue() == null)
|
if (value == null && getValue() == null) {
|
||||||
updated = true;
|
updated = true;
|
||||||
else if (value != null && value.equals(getValue()))
|
} else if (value != null && value.equals(getValue())) {
|
||||||
updated = true;
|
updated = true;
|
||||||
|
getComponent().setText(lookup.getDisplay(value));
|
||||||
|
}
|
||||||
if (!updated)
|
if (!updated)
|
||||||
{
|
{
|
||||||
setValue(value);
|
setValue(value);
|
||||||
|
|
Loading…
Reference in New Issue