IDEMPIERE-377 Improve current search dialog box. Fixed a mistake in previous revision.

This commit is contained in:
Heng Sin Low 2012-10-23 06:54:32 +08:00
parent afb50f10e0
commit 09fa7bc35b
1 changed files with 2 additions and 2 deletions

View File

@ -1638,8 +1638,8 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
field.addPropertyChangeListener(editor);
editor.addValueChangeListener(this);
editor.setValue(null);
editor.setReadWrite(true);
editor.setVisible(true);
editor.setReadWrite(enabled);
editor.setVisible(enabled);
editor.dynamicDisplay();
//
return editor.getComponent();