From 416756b1c714dbd5699e1cea0f52bad199925ece Mon Sep 17 00:00:00 2001 From: Andreas Stallinger Date: Wed, 18 Mar 2015 17:01:38 +0100 Subject: [PATCH] ui: keyboard input direct to searchbar typing is directed to the searchbar --- src/app/qt/element/QtSmartSearchBox.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/qt/element/QtSmartSearchBox.cpp b/src/app/qt/element/QtSmartSearchBox.cpp index a7a2a8b9..212fb348 100644 --- a/src/app/qt/element/QtSmartSearchBox.cpp +++ b/src/app/qt/element/QtSmartSearchBox.cpp @@ -44,6 +44,7 @@ QtSmartSearchBox::QtSmartSearchBox(QWidget* parent) , m_shiftKeyDown(false) , m_mousePressed(false) { + grabKeyboard(); m_highlightRect = new QWidget(this); m_highlightRect->setGeometry(0, 0, 0, 0); m_highlightRect->setObjectName("search_box_highlight");