changeset 1342:c580c135d45c

clear tooltip when leaving textblock
author corvid <corvid@lavabit.com>
date Sat, 03 Oct 2009 03:39:10 +0000
parents e595098a0de9
children 16ed4ed58863
files dw/textblock.cc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dw/textblock.cc	Sat Oct 03 03:05:26 2009 +0000
+++ b/dw/textblock.cc	Sat Oct 03 03:39:10 2009 +0000
@@ -560,6 +560,10 @@
 {
    hoverLink = -1;
    (void) emitLinkEnter (hoverLink, -1, -1, -1);
+   if (hoverTooltip) {
+      hoverTooltip->onLeave();
+      hoverTooltip = NULL;
+   }
 }
 
 /**