diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2011-11-25 15:25:40 +0100 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-11-25 15:41:12 +0100 |
commit | 6bc2516875f41945e540f9d0bc0b4c7a010d5415 (patch) | |
tree | 8256602e4c5e242100d283aa317926c46304ac57 /src/plugins/find | |
parent | f4ae2546618caa7c2932918dacc1b1d181e9919c (diff) | |
download | qt-creator-6bc2516875f41945e540f9d0bc0b4c7a010d5415.tar.gz |
Unbreak focus behavior for search panel.
With cc11186bad9229c231f2fbba176645f3a3c20327 starting a new search
would not move focus to the search term.
Change-Id: Ibf84e632e99902d4a06d998271b49ebe614b79d8
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/find')
-rw-r--r-- | src/plugins/find/searchresultwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/find/searchresultwindow.cpp b/src/plugins/find/searchresultwindow.cpp index 27233ef970..aed3329cfc 100644 --- a/src/plugins/find/searchresultwindow.cpp +++ b/src/plugins/find/searchresultwindow.cpp @@ -213,6 +213,7 @@ SearchResultWindow::SearchResultWindow(QWidget *newSearchPanel) QScrollArea *newSearchArea = new QScrollArea(d->m_widget); newSearchArea->setFrameStyle(QFrame::NoFrame); newSearchArea->setWidget(newSearchPanel); + newSearchArea->setFocusProxy(newSearchPanel); d->m_widget->addWidget(newSearchArea); d->m_currentIndex = 0; |