diff --git a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp index bd88bfade2..034cd43c6d 100644 --- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp +++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp @@ -3008,7 +3008,8 @@ void EmojiListWidget::pickerHidden() { } bool EmojiListWidget::hasColorButton(int index) const { - return (_staticCount > int(Section::People)) + return !_searchMode + && (_staticCount > int(Section::People)) && (index == int(Section::People)); }