Allow custom tab action on all autocomplete fields.

Fixes #28455.
This commit is contained in:
John Preston 2024-09-30 13:45:00 +04:00
parent 99c8edb3eb
commit 632639d581
2 changed files with 1 additions and 1 deletions

View file

@ -1662,6 +1662,7 @@ void InitFieldAutocomplete(
const auto field = descriptor.field;
field->rawTextEdit()->installEventFilter(raw);
field->customTab(true);
raw->mentionChosen(
) | rpl::start_with_next([=](FieldAutocomplete::MentionChosen data) {

View file

@ -581,7 +581,6 @@ void InitMessageField(
[=] { return show->paused(ChatHelpers::PauseReason::Any); },
std::move(allowPremiumEmoji));
InitMessageFieldGeometry(field);
field->customTab(true);
}
void InitMessageField(