Run InsertIdle after reseting completer to permit InsertIdle to display an info box

This commit is contained in:
Maxime Coste 2015-11-30 13:54:59 +00:00
parent e91da2bd43
commit 1745344869

View File

@ -972,9 +972,9 @@ public:
m_autoshowcompl(true), m_autoshowcompl(true),
m_idle_timer{TimePoint::max(), m_idle_timer{TimePoint::max(),
[this](Timer& timer) { [this](Timer& timer) {
context().hooks().run_hook("InsertIdle", "", context());
if (m_autoshowcompl) if (m_autoshowcompl)
m_completer.update(); m_completer.update();
context().hooks().run_hook("InsertIdle", "", context());
}}, }},
m_disable_hooks{context().user_hooks_disabled()} m_disable_hooks{context().user_hooks_disabled()}
{ {