Fix explicit insert completion menu/info not hiding

Fixes #1168
This commit is contained in:
Maxime Coste 2017-01-30 10:32:29 +00:00
parent 159c143757
commit 192ea9a9d9

View File

@ -419,9 +419,9 @@ void InsertCompleter::update()
void InsertCompleter::reset()
{
m_explicit_completer = nullptr;
if (m_completions.is_valid())
if (m_explicit_completer or m_completions.is_valid())
{
m_explicit_completer = nullptr;
m_completions = InsertCompletion{};
if (m_context.has_client())
{