summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-21 18:22:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-21 18:22:20 +0300
commitfff0343ddfdfab92c9b21453df76e57fa1426f4c (patch)
tree69109710328521488de2e4074b19bdeb8df27fa5
parent9574d8da754870021b15018f5de07fa2531d6be5 (diff)
downloadmanaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.gz
manaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.bz2
manaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.xz
manaplus-fff0343ddfdfab92c9b21453df76e57fa1426f4c.zip
Fix context menu in chat window.
-rw-r--r--src/gui/widgets/browserbox.cpp4
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)