summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-01-31 12:06:55 +0000
committerDavid Schulz <david.schulz@qt.io>2022-02-01 07:06:26 +0000
commitfe0352669d5a5dcee768f8e198316fcf9a3ae4dd (patch)
tree55568ff0b535c1d24e0833b9eff73b347993b10b
parent4a0c6f1e787c8ba2e1d46ecd155f3817ccc93802 (diff)
downloadqt-creator-fe0352669d5a5dcee768f8e198316fcf9a3ae4dd.tar.gz
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 <christian.kandeler@qt.io>
-rw-r--r--src/plugins/texteditor/texteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/texteditor.cpp b/src/plugins/texteditor/texteditor.cpp
index ae9b735367..79228163cc 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