prevent Traceback in dataforms_widget(search user in jabber.tf-network.de server as example)
This commit is contained in:
parent
2adba6d065
commit
086c5ea01f
|
@ -193,8 +193,9 @@ class DataFormWidget(gtk.Alignment, object):
|
||||||
for item in self._data_form.iter_records():
|
for item in self._data_form.iter_records():
|
||||||
iter_ = self.multiplemodel.append()
|
iter_ = self.multiplemodel.append()
|
||||||
for field in item.iter_fields():
|
for field in item.iter_fields():
|
||||||
self.multiplemodel.set_value(iter_, fieldvars.index(field.var),
|
if field.var in fieldvars:
|
||||||
field.value)
|
self.multiplemodel.set_value(iter_,
|
||||||
|
fieldvars.index(field.var), field.value)
|
||||||
|
|
||||||
# constructing columns...
|
# constructing columns...
|
||||||
for field, counter in zip(self._data_form.reported.iter_fields(),
|
for field, counter in zip(self._data_form.reported.iter_fields(),
|
||||||
|
|
Loading…
Reference in New Issue