From 192ea9a9d9e914ef9d8c6fe6d69c6c40ef3a6fc4 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 30 Jan 2017 10:32:29 +0000 Subject: [PATCH] Fix explicit insert completion menu/info not hiding Fixes #1168 --- src/insert_completer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insert_completer.cc b/src/insert_completer.cc index 90ce1b7d..f61a9c1d 100644 --- a/src/insert_completer.cc +++ b/src/insert_completer.cc @@ -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()) {