Merge remote-tracking branch 'potatoalienof13/i-am-bad-at-git'

This commit is contained in:
Maxime Coste 2023-03-09 21:08:03 +11:00
commit 706e5bd215

View File

@ -481,7 +481,7 @@ bool InsertCompleter::has_candidate_selected() const
void InsertCompleter::try_accept()
{
if (m_completions.is_valid() and m_context.has_client() and has_candidate_selected())
if (m_completions.is_valid() and has_candidate_selected())
reset();
}