Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 215847a3 authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

Fix list of displayed nodes in Node Selection Window

Only the root node was displayed, instead of the whole hierarchy.
Bug introduced in commit c6f79866.
parent b1458d68
No related branches found
No related tags found
1 merge request!35Fix list of displayed nodes in Node Selection window
Pipeline #576039 passed
......@@ -168,7 +168,9 @@ void Node_select::set_container_names_rec(QTreeWidgetItem *current_node, Contain
children = current_container->get_view_children();
}
if( (load_view == false) || (children == NULL)) {
/* children cannot be NULL when accessed, because it means load_view==true
* and thus, children was assigned in the above condition block. */
if(load_view==false || children->empty()) {
children = current_container->get_children();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment