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/textbox.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/textbox.cpp') diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp index 5008da6ea..50e423de8 100644 --- a/src/gui/widgets/textbox.cpp +++ b/src/gui/widgets/textbox.cpp @@ -590,6 +590,7 @@ void TextBox::mousePressed(MouseEvent& mouseEvent) if (!height) return; + mouseEvent.consume(); mCaretRow = mouseEvent.getY() / height; const int sz = static_cast(mTextRows.size()); -- cgit v1.2.3-70-g09d2