summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 1631c16..8e9b0be 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -394,7 +394,9 @@ void Definition::addSectionsToIndex()
Doxygen::indexList.decContentsDepth();
}
}
- Doxygen::indexList.addContentsItem(TRUE,si->title,
+ QCString title = si->title;
+ if (title.isEmpty()) title = si->label;
+ Doxygen::indexList.addContentsItem(TRUE,title,
getReference(),
getOutputFileBase(),
si->label,