From 3ed0b5f6edce152fa2eca9c84d64cbeec8ac0173 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 21 Mar 2014 17:32:27 +0300 Subject: Add consume calls into mouse press / click handlers. --- src/gui/widgets/textfield.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/textfield.cpp') diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index 98a308e37..b822996a4 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -699,6 +699,7 @@ void TextField::mousePressed(MouseEvent &mouseEvent) if (!client->isKeyboardVisible()) inputManager.executeAction(Input::KEY_SHOW_KEYBOARD); #endif + mouseEvent.consume(); if (mouseEvent.getButton() == MouseEvent::RIGHT) { if (viewport) -- cgit v1.2.3-60-g2f50