Commit 56fc59ab authored by Eike Ziller's avatar Eike Ziller

Editor views: fix issue with unsplittable editors

Task-number: QTCREATORBUG-9843

Change-Id: If25196f727f5cc573560fa69f69c645eba00b0d0
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 0d724e40
......@@ -1253,6 +1253,7 @@ Core::IEditor *EditorManager::placeEditor(Core::Internal::EditorView *view, Core
if (replacementView)
replacementView->removeEditor(replacement);
sourceView->addEditor(replacement);
sourceView->setCurrentEditor(replacement);
}
}
return editor;
......
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