diff --git a/src/plugins/fakevim/fakevimplugin.cpp b/src/plugins/fakevim/fakevimplugin.cpp index 756121aeef2e113910a35c482c33e96f0841c847..1ec80f51079cd4483c59f07270ecd47242e578f5 100644 --- a/src/plugins/fakevim/fakevimplugin.cpp +++ b/src/plugins/fakevim/fakevimplugin.cpp @@ -2123,6 +2123,7 @@ void FakeVimPluginPrivate::showExtraInformation(const QString &text) IEditor *iedit = EditorManager::openEditorWithContents(Id(), &title, text.toUtf8()); EditorManager::activateEditor(iedit); FakeVimHandler *handler = m_editorToHandler.value(iedit, 0); + QTC_ASSERT(handler, return); handler->handleCommand(_("0")); }