From e24f10bd78be62dfeaef1000e600e62b98246002 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 22 Jul 2013 20:36:03 +0200 Subject: [PATCH] correctly find JID column in search result window. Fixes #7347 --- src/search_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search_window.py b/src/search_window.py index 13c654968..7dbddc3bf 100644 --- a/src/search_window.py +++ b/src/search_window.py @@ -228,7 +228,7 @@ class SearchWindow: self.on_result_treeview_cursor_changed) counter = 0 - for field in self.dataform.items[0].fields: + for field in self.dataform.reported.iter_fields(): if field.var == 'jid': self.jid_column = counter break