diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp
index 9056f03519ab1f6dfed817db0fb74476107346ab..46fbed6dab2dbb066efff49cff50adbc03233119 100644
--- a/src/plugins/coreplugin/editormanager/editormanager.cpp
+++ b/src/plugins/coreplugin/editormanager/editormanager.cpp
@@ -460,11 +460,7 @@ void EditorManager::handleContextChange(Core::IContext *context)
     if (debugEditorManager)
         qDebug() << Q_FUNC_INFO;
     IEditor *editor = context ? qobject_cast<IEditor*>(context) : 0;
-    if (editor) {
-        setCurrentEditor(editor);
-    } else {
-        updateActions();
-    }
+    setCurrentEditor(editor);
 }
 
 void EditorManager::setCurrentEditor(IEditor *editor, bool ignoreNavigationHistory)