Help Browser: Don't double-list a section's root topic
This commit is contained in:
parent
ada7b50403
commit
5996cba135
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@ void help_browser::add_topics_for_section(const help::section& parent_section, t
|
|||
}
|
||||
|
||||
for(const help::topic& topic : parent_section.topics) {
|
||||
add_topic(topic.id, topic.title, false, parent_node);
|
||||
if(topic.id.compare(0,2,"..") != 0) {
|
||||
add_topic(topic.id, topic.title, false, parent_node);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue