diff --git a/src/app/ui/file_selector.cpp b/src/app/ui/file_selector.cpp index 02d8b2498..a1309084c 100644 --- a/src/app/ui/file_selector.cpp +++ b/src/app/ui/file_selector.cpp @@ -116,20 +116,11 @@ public: } protected: - virtual bool onProcessMessage(Message* msg) override { - switch (msg->type()) { + virtual void onEntryChange() override { + Entry::onEntryChange(); - case kKeyDownMessage: - m_timer.stop(); - break; - - case kKeyUpMessage: - if (static_cast(msg)->unicodeChar() >= 32) - m_timer.start(); - break; - - } - return Entry::onProcessMessage(msg); + // Start timer to autocomplete again. + m_timer.start(); } void onTick() {