summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
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 /src/gui/widgets/browserbox.cpp
parent9574d8da754870021b15018f5de07fa2531d6be5 (diff)
downloadmv-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.gz
mv-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.bz2
mv-fff0343ddfdfab92c9b21453df76e57fa1426f4c.tar.xz
mv-fff0343ddfdfab92c9b21453df76e57fa1426f4c.zip
Fix context menu in chat window.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-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)