diff options
author | albert-github <albert.tests@gmail.com> | 2018-06-07 16:04:18 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-06-07 16:04:18 (GMT) |
commit | dbb7838937e7bcbe129dd246438aeabfafc6be32 (patch) | |
tree | 7df19dd7b5e1e8f7650abd4ce20592582d5edda5 /src | |
parent | 2899a2d6eefed0cef26647e1c89cf08e02b800d5 (diff) | |
download | Doxygen-dbb7838937e7bcbe129dd246438aeabfafc6be32.zip Doxygen-dbb7838937e7bcbe129dd246438aeabfafc6be32.tar.gz Doxygen-dbb7838937e7bcbe129dd246438aeabfafc6be32.tar.bz2 |
Bug 363762 - Tooltips are not shown in dot-generated graphs
The basic problem mentioned in this issue was already solved in Mai 2009 (version 1.5.8 or earlier), in case a brief description is present this is displayed otherwise the node number is specified)
A remaining thing was that the tooltip with the root nodes (gray nodes) was always something like Node0 irrespective of the brief description. This has been solved here.
Diffstat (limited to 'src')
-rw-r--r-- | src/dot.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dot.cpp b/src/dot.cpp index eeb8b8b..2db5ca9 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -1878,10 +1878,10 @@ void DotNode::writeBox(FTextStream &t, << m_url.right(m_url.length()-anchorPos) << "\""; } } - if (!m_tooltip.isEmpty()) - { - t << ",tooltip=\"" << escapeTooltip(m_tooltip) << "\""; - } + } + if (!m_tooltip.isEmpty()) + { + t << ",tooltip=\"" << escapeTooltip(m_tooltip) << "\""; } t << "];" << endl; } |