diff --git a/CHANGELOG.md b/CHANGELOG.md index bee34918d..488392cfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ - Bugfix: Fixed previous link info not updating after `Link information` setting is enabled (#2054) - Bugfix: Fix Tab key not working in the Ctrl+K Quick Switcher (#2065) - Bugfix: Fix bug preventing moderator actions when viewing a user card from the search window (#1089) +- Bugfix: Fix `:` emote completion menu ignoring emote capitalization (#1962) ## 2.2.0 diff --git a/src/widgets/helper/ResizingTextEdit.cpp b/src/widgets/helper/ResizingTextEdit.cpp index b8d0cd4a3..7d4aad4e9 100644 --- a/src/widgets/helper/ResizingTextEdit.cpp +++ b/src/widgets/helper/ResizingTextEdit.cpp @@ -94,7 +94,8 @@ void ResizingTextEdit::keyPressEvent(QKeyEvent *event) bool doComplete = (event->key() == Qt::Key_Tab || event->key() == Qt::Key_Backtab) && - (event->modifiers() & Qt::ControlModifier) == Qt::NoModifier; + (event->modifiers() & Qt::ControlModifier) == Qt::NoModifier && + !event->isAccepted(); if (doComplete) {