Commit 0396eeb9 authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

fix focus of the OpenEditorsWindow

Commit 4b828173

 changed the parent of
the OpenEditorsWindow to 0, which is why it didn't get the keyboard
focus anymore.

Task-number: QTCREATORBUG-13196
Change-Id: I2fbf90bebfcab251e985fb80f5dfda16fd477d1c
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent 5a58c408
......@@ -277,7 +277,6 @@ EditorManagerPrivate::~EditorManagerPrivate()
delete area;
}
m_editorAreas.clear();
delete m_windowPopup;
DocumentModel::destroy();
d = 0;
......@@ -471,7 +470,8 @@ void EditorManagerPrivate::init()
updateActions();
m_windowPopup = new OpenEditorsWindow;
// The popup needs a parent to get keyboard focus.
m_windowPopup = new OpenEditorsWindow(mainEditorArea);
m_windowPopup->hide();
m_autoSaveTimer = new QTimer(this);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment