Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XNAT-Group
XNAT_Query_Client_XSA
Commits
364aa838
Commit
364aa838
authored
Feb 19, 2015
by
Franziska Koehn
Browse files
expand query-treeview, when a query was loaded from file
parent
d7538d45
Changes
1
Hide whitespace changes
Inline
Side-by-side
xsagtk/query_view.py
View file @
364aa838
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment