correctly find JID column in search result window. Fixes #7347
This commit is contained in:
parent
b4c3d624e7
commit
e24f10bd78
|
@ -228,7 +228,7 @@ class SearchWindow:
|
||||||
self.on_result_treeview_cursor_changed)
|
self.on_result_treeview_cursor_changed)
|
||||||
|
|
||||||
counter = 0
|
counter = 0
|
||||||
for field in self.dataform.items[0].fields:
|
for field in self.dataform.reported.iter_fields():
|
||||||
if field.var == 'jid':
|
if field.var == 'jid':
|
||||||
self.jid_column = counter
|
self.jid_column = counter
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue