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