From ef7f6c60570450cfa65787853fd68365e304a54c Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Sun, 2 May 2010 21:43:42 -0800 Subject: [PATCH] Oops, clear hovered icon in the text window when the mouse leaves that window; otherwise it remains highlighted, and may even get tooltipped. [git-p4: depot-paths = "//depot/solvespace/": change = 2134] --- textwin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/textwin.cpp b/textwin.cpp index ae34c981..11ae74a5 100644 --- a/textwin.cpp +++ b/textwin.cpp @@ -597,6 +597,7 @@ done: void TextWindow::MouseLeave(void) { tooltippedIcon = NULL; + hoveredIcon = NULL; hoveredRow = 0; hoveredCol = 0; InvalidateText();