summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-16 14:41:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-16 14:41:11 +0300
commit70d4f24f38a4036f84c1f71803173199e95ad675 (patch)
tree0abd0ad2c45092e07a39011602fbd6ab60b3a513 /src/gui/chatwindow.cpp
parent90752e4a52d85ac3c77ed2ed28227e8a45b250ab (diff)
downloadmv-70d4f24f38a4036f84c1f71803173199e95ad675.tar.gz
mv-70d4f24f38a4036f84c1f71803173199e95ad675.tar.bz2
mv-70d4f24f38a4036f84c1f71803173199e95ad675.tar.xz
mv-70d4f24f38a4036f84c1f71803173199e95ad675.zip
Add context menu to browserbox http links.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp3
1 files changed, 3 insertions, 0 deletions
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)