Commit 8ea6148b authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed possible crash.

Reviewed-by: Christian Kamm
parent f840d983
......@@ -334,7 +334,8 @@ bool CompletionListView::event(QEvent *e)
}
#endif
m_completionWidget->closeList(index);
m_infoFrame->close();
if (m_infoFrame)
m_infoFrame->close();
return true;
} else if (e->type() == QEvent::ShortcutOverride) {
QKeyEvent *ke = static_cast<QKeyEvent *>(e);
......
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