Allow replacing emoji by Tab in support mode.

This commit is contained in:
John Preston 2019-07-04 13:26:39 +02:00
parent 226ca6d117
commit d228495550
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}