diff --git a/src/widget/form/genericchatform.cpp b/src/widget/form/genericchatform.cpp index 83299c260..5b6fab4bb 100644 --- a/src/widget/form/genericchatform.cpp +++ b/src/widget/form/genericchatform.cpp @@ -995,10 +995,6 @@ void GenericChatForm::searchInBegin(const QString& phrase, const ParameterSearch return; } - if (messages.size() == 0) { - return; - } - if (chatLog.getNextIdx() == messages.rbegin()->first + 1) { disableSearchText(); } else {