Skip to content

Commit

Permalink
Bug 363762 - Tooltips are not shown in dot-generated graphs (extension)
Browse files Browse the repository at this point in the history
In case no brief description present, no tooltip is shown.
  • Loading branch information
albert-github committed Jun 10, 2018
1 parent 4536982 commit 1419dca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1419dca

Please sign in to comment.