From d22849555085666a328ba0f29edd5926ba6d9fe3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 4 Jul 2019 13:26:39 +0200 Subject: [PATCH] Allow replacing emoji by Tab in support mode. --- Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp index a0137f5a6..98779d21f 100644 --- a/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp +++ b/Telegram/SourceFiles/chat_helpers/emoji_suggestions_widget.cpp @@ -275,8 +275,7 @@ void SuggestionsWidget::keyPressEvent(QKeyEvent *e) { bool SuggestionsWidget::handleKeyEvent(int key) { if (key == Qt::Key_Enter || key == Qt::Key_Return) { return triggerSelectedRow(); - } else if (key == Qt::Key_Tab - && (!AuthSession::Exists() || !Auth().supportMode())) { + } else if (key == Qt::Key_Tab) { if (_selected < 0 || _selected >= _rows.size()) { setSelected(0); }