Skip to content
Snippets Groups Projects
Commit 7b165504 authored by con's avatar con
Browse files

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: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>
parent bd7a5fb9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment