mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Some refactoring in working with text entities.
Also move this code to TextUtilities namespace.
This commit is contained in:
@@ -99,7 +99,7 @@ void FieldAutocomplete::showFiltered(PeerData *peer, QString query, bool addInli
|
||||
bool resetScroll = (_type != type || _filter != plainQuery);
|
||||
if (resetScroll) {
|
||||
_type = type;
|
||||
_filter = textAccentFold(plainQuery.toString());
|
||||
_filter = TextUtilities::RemoveAccents(plainQuery.toString());
|
||||
}
|
||||
_addInlineBots = addInlineBots;
|
||||
|
||||
|
Reference in New Issue
Block a user