summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.cpp
diff options
context:
space:
mode:
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)