summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.cpp b/src/index.cpp
index faa4091..852143a 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -2285,7 +2285,9 @@ void writeGroupTreeNode(OutputList &ol, GroupDef *gd,int level)
/* Some groups should appear twice under different parent-groups.
* That is why we should not check if it was visited
*/
- if (/*!gd->visited &&*/ (!gd->isASubGroup() || level>0))
+ if (/*!gd->visited &&*/ (!gd->isASubGroup() || level>0) &&
+ (!gd->isReference() || Config_getBool("EXTERNAL_GROUPS")) // hide external groups by default
+ )
{
//printf("gd->name()=%s #members=%d\n",gd->name().data(),gd->countMembers());
// write group info