summaryrefslogtreecommitdiffstats
path: root/src/tooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tooltip.cpp')
-rw-r--r--src/tooltip.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tooltip.cpp b/src/tooltip.cpp
index a30a85c..8cc1f87 100644
--- a/src/tooltip.cpp
+++ b/src/tooltip.cpp
@@ -115,10 +115,9 @@ void TooltipManager::writeTooltips(CodeOutputInterface &ol)
if (d->definitionType()==Definition::TypeMember)
{
MemberDef *md = dynamic_cast<MemberDef*>(d);
- decl = md->declaration();
- if (!decl.isEmpty() && decl.at(0)=='@') // hide enum values
+ if (!md->isAnonymous())
{
- decl.resize(0);
+ decl = md->declaration();
}
}
ol.writeTooltip(di.currentKey(), // id