forked from qt-creator/qt-creator
Fix that sometimes documents are opened in wrong split
Task-number: QTCREATORBUG-6433 Change-Id: If1626c1a2c406af48a8d7c630c353e138a37aa2e Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user