summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-06-10 10:32:27 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-06-10 10:32:27 (GMT)
commit1419dca75d33aaf96919ae7a1fc77137d22db14f (patch)
treeb2f7baa17df74e06e39483bf45689ebc15db1b56 /src/dot.cpp
parent4536982bdebc0056d0c5d64a12881f20b5801c06 (diff)
downloadDoxygen-1419dca75d33aaf96919ae7a1fc77137d22db14f.zip
Doxygen-1419dca75d33aaf96919ae7a1fc77137d22db14f.tar.gz
Doxygen-1419dca75d33aaf96919ae7a1fc77137d22db14f.tar.bz2
BugĀ 363762 - Tooltips are not shown in dot-generated graphs (extension)
In case no brief description present, no tooltip is shown.
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 5adc2ab..93fdb20 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1883,6 +1883,10 @@ void DotNode::writeBox(FTextStream &t,
{
t << ",tooltip=\"" << escapeTooltip(m_tooltip) << "\"";
}
+ else
+ {
+ t << ",tooltip=\" \""; // space in tooltip is required otherwise still something like 'Node0' is used
+ }
t << "];" << endl;
}