bugfix in the agent browser

This commit is contained in:
Yann Leboulanger 2005-03-02 16:11:54 +00:00
parent e8d9731cd2
commit 37764c01af
1 changed files with 2 additions and 1 deletions

View File

@ -1228,7 +1228,8 @@ class agent_browser_window:
else: else:
if not model.iter_next(iter): if not model.iter_next(iter):
iter = model.iter_parent(iter) iter = model.iter_parent(iter)
iter = model.iter_next(iter) if iter:
iter = model.iter_next(iter)
if not iter: if not iter:
iter = model.append(None, (agent, agent)) iter = model.append(None, (agent, agent))
self.agent_infos[agent] = {'features' : []} self.agent_infos[agent] = {'features' : []}