Commit 364aa838 authored by Franziska Koehn's avatar Franziska Koehn
Browse files

expand query-treeview, when a query was loaded from file

parent d7538d45
......@@ -113,6 +113,7 @@ class QueryView(gtk.VBox):
return list(e[0] for e in self.combobox.get_model()).index(root_field)
self.combobox.set_active(get_index())
self.treeView_search.set_query(root_field, query)
self.treeView_search.expand_all()
self.treeView_fields.set_fields(root_field, field_labels)
class TreeViewResultFields(gtk.TreeView):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment