merge 8330 to trunk,
Search dialog open twice after clearing current value that is valid in the lookup/search field.
This commit is contained in:
parent
8a9c35baef
commit
ae981dccfc
|
@ -211,6 +211,11 @@ public class WSearchEditor extends WEditor implements ContextMenuListener, Value
|
||||||
{
|
{
|
||||||
if (Events.ON_CHANGE.equals(e.getName()) || Events.ON_OK.equals(e.getName()))
|
if (Events.ON_CHANGE.equals(e.getName()) || Events.ON_OK.equals(e.getName()))
|
||||||
{
|
{
|
||||||
|
if (infoPanel != null)
|
||||||
|
{
|
||||||
|
infoPanel.detach();
|
||||||
|
infoPanel = null;
|
||||||
|
}
|
||||||
actionText(getComponent().getText());
|
actionText(getComponent().getText());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue