From a8df8e90356a048c48ac5ea1a1a8649a1a5b742b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Mar 2014 00:28:54 +0300 Subject: fix mouse exit on browserbox. --- src/gui/widgets/browserbox.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/widgets/browserbox.cpp') diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 100281d94..25f821905 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -445,6 +445,11 @@ void BrowserBox::mouseMoved(MouseEvent &event) ? static_cast(i - mLinks.begin()) : -1; } +void BrowserBox::mouseExited(MouseEvent &event) +{ + mSelectedLink = -1; +} + void BrowserBox::draw(Graphics *graphics) { BLOCK_START("BrowserBox::draw") -- cgit v1.2.3-70-g09d2