diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index ee0c58e0a4c33875acf6f0c35f13a835e23f3703..ff16068c7f605b916b990810a2ae179c638fd82b 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -1657,7 +1657,9 @@ void EditorManager::showEditorInfoBar(const QString &kind, void EditorManager::hideEditorInfoBar(const QString &kind) { - currentEditorView()->hideEditorInfoBar(kind); + Core::Internal::EditorView *cev = currentEditorView(); + if (cev) + cev->hideEditorInfoBar(kind); } void EditorManager::showEditorStatusBar(const QString &kind,