IDEMPIERE-300 zk6: Search workflow process -> java.lang.IndexOutOfBoundsException

This commit is contained in:
Heng Sin Low 2012-06-20 16:59:58 +08:00
parent 0a99e6c342
commit 9329465ae7
1 changed files with 2 additions and 1 deletions

View File

@ -1695,7 +1695,8 @@ public class FindWindow extends Window implements EventListener<Event>, ValueCha
}
public void OnPostVisible() {
Clients.response(new AuFocus(m_sEditors.get(0).getComponent()));
if (m_sEditors.size() > 0)
Clients.response(new AuFocus(m_sEditors.get(0).getComponent()));
}
/**