mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
revert(chatlog): partially revert "prevent invalid history access"
This partially reverts commit e3e6e1d9c4
.
This commit is contained in:
parent
b04639c6d0
commit
5d44cd773f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user