diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-16 00:28:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-16 00:28:54 +0300 |
commit | a8df8e90356a048c48ac5ea1a1a8649a1a5b742b (patch) | |
tree | 02257d34b2d57949629974e4b459afa21604a9df /src/gui/widgets/browserbox.cpp | |
parent | 22cb237571e06395ec241377721c02716f0ea8a7 (diff) | |
download | plus-a8df8e90356a048c48ac5ea1a1a8649a1a5b742b.tar.gz plus-a8df8e90356a048c48ac5ea1a1a8649a1a5b742b.tar.bz2 plus-a8df8e90356a048c48ac5ea1a1a8649a1a5b742b.tar.xz plus-a8df8e90356a048c48ac5ea1a1a8649a1a5b742b.zip |
fix mouse exit on browserbox.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<int>(i - mLinks.begin()) : -1; } +void BrowserBox::mouseExited(MouseEvent &event) +{ + mSelectedLink = -1; +} + void BrowserBox::draw(Graphics *graphics) { BLOCK_START("BrowserBox::draw") |