diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 7bc36393c21..bac887e510f 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -442,6 +442,8 @@ void EditorManagerPrivate::init() // other setup auto mainEditorArea = new EditorArea(); + // assign parent to avoid failing updates (e.g. windowTitle) before it is displayed first time + mainEditorArea->setParent(ICore::mainWindow()); mainEditorArea->hide(); connect(mainEditorArea, &EditorArea::windowTitleNeedsUpdate, this, &EditorManagerPrivate::updateWindowTitle);