Commit 0feb80fa authored by hjk's avatar hjk Committed by Christian Stenger

CppEditor: Re-add check for editor existence in updateFunctionDeclDefLink

Fixes a recent regression.

Change-Id: Iaa4eb936274b33057fc6c8fdcfbe751b9ab28b75
Reviewed-by: default avatarFawzi Mohamed <>
Reviewed-by: default avatarChristian Stenger <>
parent 9e81bd0b
......@@ -671,7 +671,8 @@ void CppEditorWidget::updateFunctionDeclDefLinkNow()
if (noTracking)
if (EditorManager::currentEditor()->widget() != this)
IEditor *editor = EditorManager::currentEditor();
if (!editor || editor->widget() != this)
const Snapshot semanticSnapshot = d->m_lastSemanticInfo.snapshot;
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