Browse Source

revert(chatlog): partially revert "prevent invalid history access"

This partially reverts commit e3e6e1d9c4.
reviewable/pr6374/r3
Anthony Bilinski 5 years ago
parent
commit
5fc273da94
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 4
      src/widget/form/genericchatform.cpp

4
src/widget/form/genericchatform.cpp

@ -995,10 +995,6 @@ void GenericChatForm::searchInBegin(const QString& phrase, const ParameterSearch @@ -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 {

Loading…
Cancel
Save