Commit f3451e92 authored by Eike Ziller's avatar Eike Ziller

Fix that sometimes documents are opened in wrong split

Task-number: QTCREATORBUG-6433

Change-Id: If1626c1a2c406af48a8d7c630c353e138a37aa2e
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 677b3104
......@@ -1249,8 +1249,7 @@ Core::IEditor *EditorManager::activateEditorForDocument(Core::Internal::EditorVi
if (editors.isEmpty())
return 0;
activateEditor(view, editors.first(), flags);
return editors.first();
return activateEditor(view, editors.first(), flags);
}
/* For something that has a 'QStringList mimeTypes' (IEditorFactory
......
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