diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-21 18:22:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-21 18:22:20 +0300 |
commit | fff0343ddfdfab92c9b21453df76e57fa1426f4c (patch) | |
tree | 69109710328521488de2e4074b19bdeb8df27fa5 /src/gui/widgets/browserbox.cpp | |
parent | 9574d8da754870021b15018f5de07fa2531d6be5 (diff) | |
download | manaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.gz manaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.bz2 manaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.xz manaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.zip |
Fix context menu in chat window.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 8236dbdd3..cf11f577d 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -353,8 +353,10 @@ void BrowserBox::mousePressed(gcn::MouseEvent &event) MouseOverLink(event.getX(), event.getY())); if (i != mLinks.end()) + { mLinkHandler->handleLink(i->link, &event); - event.consume(); + event.consume(); + } } void BrowserBox::mouseMoved(gcn::MouseEvent &event) |