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:
Heng Sin Low 2009-02-06 06:49:50 +00:00
parent 8a9c35baef
commit ae981dccfc
1 changed files with 5 additions and 0 deletions

View File

@ -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 (infoPanel != null)
{
infoPanel.detach();
infoPanel = null;
}
actionText(getComponent().getText());
}