diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 56a5131be6f..c3d04a6a2ce 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -1335,6 +1335,8 @@ Core::IEditor *EditorManager::activateEditor(Core::Internal::EditorView *view, C ICore::raiseWindow(editor->widget()); } } + } else if (!(flags & DoNotMakeVisible)) { + view->setCurrentEditor(editor); } return editor; }