fix(chat-input): Colon detection for foreign keyboard layout

This commit is contained in:
Tanguy 2022-12-15 19:19:34 +01:00 committed by Tanguy
parent 9dcaf86e42
commit 473da3790b
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ Rectangle {
return emojiSuggestions.listView.decrementCurrentIndex() return emojiSuggestions.listView.decrementCurrentIndex()
} }
isColonPressed = (event.key === Qt.Key_Colon) && (event.modifiers & Qt.ShiftModifier); isColonPressed = event.key === Qt.Key_Colon;
if (suggestionsBox.visible) { if (suggestionsBox.visible) {
let aliasName = suggestionsBox.formattedPlainTextFilter; let aliasName = suggestionsBox.formattedPlainTextFilter;