@@ -1619,17 +1619,15 @@ static void writeClassTree(ClassSDict *clDict,FTVHelp *ftv,bool addToIndex,bool
1619
1619
{
1620
1620
ftv->addContentsItem (count>0 ,cd->displayName (FALSE ),cd->getReference (),
1621
1621
cd->getOutputFileBase (),cd->anchor (),FALSE ,TRUE ,cd);
1622
- if (addToIndex &&
1623
- /* cd->partOfGroups()==0 &&*/
1624
- (cd->getOuterScope ()==0 ||
1622
+ if ((cd->getOuterScope ()==0 ||
1625
1623
cd->getOuterScope ()->definitionType ()!=Definition::TypeClass
1626
1624
)
1627
1625
)
1628
1626
{
1629
1627
addMembersToIndex (cd,LayoutDocManager::Class,
1630
1628
cd->displayName (FALSE ),
1631
1629
cd->anchor (),
1632
- cd->partOfGroups ()==0 && !cd->isSimple ());
1630
+ addToIndex && cd->partOfGroups ()==0 && !cd->isSimple ());
1633
1631
}
1634
1632
if (count>0 )
1635
1633
{
@@ -1711,7 +1709,8 @@ static void writeNamespaceTree(const NamespaceSDict *nsDict,FTVHelp *ftv,
1711
1709
(!rootOnly || nd->getOuterScope ()==Doxygen::globalScope))
1712
1710
{
1713
1711
1714
- bool hasChildren = namespaceHasNestedNamespace (nd);
1712
+ bool hasChildren = namespaceHasNestedNamespace (nd) ||
1713
+ namespaceHasNestedClass (nd,false ,ClassDef::Class);
1715
1714
bool isLinkable = nd->isLinkableInProject ();
1716
1715
int visibleMembers = countVisibleMembers (nd);
1717
1716
@@ -1750,6 +1749,7 @@ static void writeNamespaceTree(const NamespaceSDict *nsDict,FTVHelp *ftv,
1750
1749
{
1751
1750
ftv->incContentsDepth ();
1752
1751
writeNamespaceTree (nd->getNamespaceSDict (),ftv,FALSE ,addToIndex);
1752
+ writeClassTree (nd->getClassSDict (),ftv,FALSE ,FALSE ,ClassDef::Class);
1753
1753
writeNamespaceMembers (nd,addToIndex);
1754
1754
ftv->decContentsDepth ();
1755
1755
}
0 commit comments