Skip to content

Commit

Permalink
Help Browser: Don't double-list a section's root topic
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel authored and Vultraz committed Apr 16, 2017
1 parent 7a78f4b commit 61c2d97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/dialogs/help_browser.cpp
Expand Up @@ -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);
}
}
}

Expand Down

0 comments on commit 61c2d97

Please sign in to comment.