From fe0352669d5a5dcee768f8e198316fcf9a3ae4dd Mon Sep 17 00:00:00 2001 From: David Schulz Date: Mon, 31 Jan 2022 12:06:55 +0000 Subject: Revert "macOS: Fix Delete with Google Japanese IME" This reverts commit 5a3648c8956c74cc39ed37b8ee2a7d324b0dfc35. Reason for revert: breaks other shortcuts like shift+del to cut the current line under the cursor Change-Id: I5313c66df9dfa4283cc3f84ce9e7fd5464d0f73e Reviewed-by: Christian Kandeler --- src/plugins/texteditor/texteditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/texteditor/texteditor.cpp b/src/plugins/texteditor/texteditor.cpp index ae9b735367c..79228163cc5 100644 --- a/src/plugins/texteditor/texteditor.cpp +++ b/src/plugins/texteditor/texteditor.cpp @@ -2914,7 +2914,7 @@ bool TextEditorWidget::event(QEvent *e) && (ke->key() < Qt::Key_Escape)); d->m_maybeFakeTooltipEvent = false; } - break; + return true; } case QEvent::ApplicationPaletteChange: { // slight hack: ignore palette changes -- cgit v1.2.3