summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index 22b2f5e..bbee306 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -196,7 +196,14 @@ DiagramItem::~DiagramItem()
QCString DiagramItem::label() const
{
- return classDef->name()+templSpec;
+ if (!templSpec.isEmpty())
+ {
+ return insertTemplateSpecifierInScope(classDef->name(),templSpec);
+ }
+ else
+ {
+ return classDef->name();
+ }
}
QCString DiagramItem::fileName() const