Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-06-06 07:09:20 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:19:16 +0300
commitadea9b386a115bf7c9f86df2a91ab7088abe196d (patch)
tree2f33308663956ba45f7fe4ebad1d575d42f288fc /qt/search_panel.cpp
parentcfbb73948cebaf3508f9e6478a9c1f6de1d5ae14 (diff)
[qt] Fixed lost focus for search results table
Diffstat (limited to 'qt/search_panel.cpp')
-rw-r--r--qt/search_panel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt/search_panel.cpp b/qt/search_panel.cpp
index 4a6b214e04..3d02f17753 100644
--- a/qt/search_panel.cpp
+++ b/qt/search_panel.cpp
@@ -21,6 +21,7 @@ SearchPanel::SearchPanel(DrawWidget * drawWidget, QWidget * parent)
connect(m_pEditor, SIGNAL(textChanged(QString const &)), this, SLOT(OnSearchTextChanged(QString const &)));
m_pTable = new QTableWidget(0, 2, this);
+ m_pTable->setFocusPolicy(Qt::NoFocus);
m_pTable->setAlternatingRowColors(true);
m_pTable->setShowGrid(false);
m_pTable->setSelectionBehavior(QAbstractItemView::SelectRows);