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); field.addPropertyChangeListener(editor);
editor.addValueChangeListener(this); editor.addValueChangeListener(this);
editor.setValue(null); editor.setValue(null);
editor.setReadWrite(true); editor.setReadWrite(enabled);
editor.setVisible(true); editor.setVisible(enabled);
editor.dynamicDisplay(); editor.dynamicDisplay();
// //
return editor.getComponent(); return editor.getComponent();