Commit 7693d448 authored by hjk's avatar hjk
Browse files

Fixes: fakevim: fix crash when trying to install on empty editor

parent 71e7fa77
......@@ -180,7 +180,12 @@ bool FakeVimPluginPrivate::initialize()
void FakeVimPluginPrivate::installHandler(Core::IEditor *editor)
if (!editor)
QWidget *widget = editor->widget();
if (!widget)
FakeVimHandler *handler = new FakeVimHandler(widget, widget);
Supports Markdown
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