summaryrefslogtreecommitdiffstats
path: root/src/definition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/definition.cpp')
-rw-r--r--src/definition.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index 53968b2..c672125 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -785,7 +785,14 @@ void Definition::writePathFragment(OutputList &ol) const
}
if (isLinkable())
{
- ol.writeObjectLink(getReference(),getOutputFileBase(),0,m_localName);
+ if (definitionType()==Definition::TypeGroup && ((const GroupDef*)this)->groupTitle())
+ {
+ ol.writeObjectLink(getReference(),getOutputFileBase(),0,((const GroupDef*)this)->groupTitle());
+ }
+ else
+ {
+ ol.writeObjectLink(getReference(),getOutputFileBase(),0,m_localName);
+ }
}
else
{