diff --git a/plugins/search.cpp b/plugins/search.cpp index e0213bf06..72001275c 100644 --- a/plugins/search.cpp +++ b/plugins/search.cpp @@ -180,6 +180,10 @@ public: { // Query typing mode + if (input->empty()) + { + return false; + } df::interface_key last_token = *input->rbegin(); if (last_token >= interface_key::STRING_A032 && last_token <= interface_key::STRING_A126) {