From 1419dca75d33aaf96919ae7a1fc77137d22db14f Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 10 Jun 2018 12:32:27 +0200 Subject: =?UTF-8?q?Bug=C2=A0363762=20-=20Tooltips=20are=20not=20shown=20in?= =?UTF-8?q?=20dot-generated=20graphs=20(extension)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In case no brief description present, no tooltip is shown. --- src/dot.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- cgit v0.12