IDEMPIERE-779 Zk: Always have an empty line when user switch to the advance search tab.

This commit is contained in:
Heng Sin Low 2013-03-20 15:57:48 +08:00
parent 16941178c1
commit 1daa06b269
1 changed files with 3 additions and 0 deletions

View File

@ -1062,6 +1062,9 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
fQueryName.setReadonly(false);
btnSave.setDisabled(m_AD_Tab_ID <= 0);
historyCombo.setSelectedItem(null);
if (advancedPanel.getItems().size() == 0) {
createFields();
}
} else {
fQueryName.setReadonly(true);
btnSave.setDisabled(true);