From fff0343ddfdfab92c9b21453df76e57fa1426f4c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 21 Jan 2013 18:22:20 +0300 Subject: Fix context menu in chat window. --- src/gui/widgets/browserbox.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/browserbox.cpp') 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) -- cgit v1.2.3-70-g09d2