1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 17:31:44 +03:00

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() void InsertCompleter::reset()
{ {
m_explicit_completer = nullptr; if (m_explicit_completer or m_completions.is_valid())
if (m_completions.is_valid())
{ {
m_explicit_completer = nullptr;
m_completions = InsertCompletion{}; m_completions = InsertCompletion{};
if (m_context.has_client()) if (m_context.has_client())
{ {