Help Browser: Don't double-list a section's root topic

This commit is contained in:
Celtic Minstrel 2017-04-10 15:07:55 -04:00
parent 9fa470ddfc
commit 25ab7f04f7

View file

@ -84,7 +84,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);
}
}
}