summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-21 17:32:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-21 18:51:45 +0300
commit3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173 (patch)
tree8791e88608a737b0cb56997743a1404f982eecc8 /src/gui/windows/chatwindow.cpp
parent1dd71a1f8489b35d1c989fb0477122224d981853 (diff)
downloadmanaplus-3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173.tar.gz
manaplus-3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173.tar.bz2
manaplus-3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173.tar.xz
manaplus-3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173.zip
Add consume calls into mouse press / click handlers.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 5698973f3..c6e4182d8 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -732,6 +732,7 @@ void ChatWindow::mousePressed(MouseEvent &event)
Tab *const tab = mChatTabs->getSelectedTab();
if (tab)
{
+ event.consume();
if (inputManager.isActionActive(static_cast<int>(
Input::KEY_CHAT_MOD)))
{