diff options
author | con <qtc-committer@nokia.com> | 2009-06-02 19:13:42 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-06-03 11:29:08 +0200 |
commit | 7b1655049ac9a77959bb849cd3d26eb18e8e9163 (patch) | |
tree | 26ac7849bd945b4b5284110e5cc86c5086183933 /src/plugins/quickopen/quickopentoolwindow.cpp | |
parent | bd7a5fb9daf670ca31bfee080e117395b3722645 (diff) | |
download | qt-creator-7b1655049ac9a77959bb849cd3d26eb18e8e9163.tar.gz |
Locator tool window shortcut and menu item doesn't work.
After changes in Qt that expose a bug in Qt Creator. We actually
tried to set the focus on a widget that doesn't accept focus. Set a
focus proxy instead.
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Diffstat (limited to 'src/plugins/quickopen/quickopentoolwindow.cpp')
-rw-r--r-- | src/plugins/quickopen/quickopentoolwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/quickopen/quickopentoolwindow.cpp b/src/plugins/quickopen/quickopentoolwindow.cpp index 462e1d94df..139559bee3 100644 --- a/src/plugins/quickopen/quickopentoolwindow.cpp +++ b/src/plugins/quickopen/quickopentoolwindow.cpp @@ -258,6 +258,7 @@ QuickOpenToolWindow::QuickOpenToolWindow(QuickOpenPlugin *qop) : // Explicitly hide the completion list popup. m_completionList->hide(); + setFocusProxy(m_fileLineEdit); setWindowTitle(tr("Locate...")); resize(200, 90); QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred); |