From 70d4f24f38a4036f84c1f71803173199e95ad675 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 16 Jan 2013 14:41:11 +0300 Subject: Add context menu to browserbox http links. --- src/gui/chatwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/chatwindow.cpp') diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index c9c061be2..f14002827 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -718,6 +718,9 @@ void ChatWindow::scroll(const int amount) const void ChatWindow::mousePressed(gcn::MouseEvent &event) { + if (event.isConsumed()) + return; + if (event.getButton() == gcn::MouseEvent::RIGHT) { if (viewport) -- cgit v1.2.3-70-g09d2