summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.cpp b/src/index.cpp
index de50cc5..b49ee0d 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -3747,8 +3747,7 @@ static void writeGroupTreeNode(OutputList &ol, const GroupDef *gd, int level, FT
/* 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) &&
- gd->isVisible() &&
+ if ((!gd->isASubGroup() || level>0) && gd->isVisible() &&
(!gd->isReference() || Config_getBool(EXTERNAL_GROUPS)) // hide external groups by default
)
{