From 304145f5b8dd6f77e7c121867a2a55094f6e5d8f Mon Sep 17 00:00:00 2001 From: apistol78 Date: Wed, 6 Mar 2024 13:51:29 +0100 Subject: [PATCH] Traktor: Fixed Ctrl+A shortcut in RichEdit control. --- code/Ui/RichEdit/RichEdit.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/Ui/RichEdit/RichEdit.cpp b/code/Ui/RichEdit/RichEdit.cpp index 9fd3a93aed..632cefca67 100644 --- a/code/Ui/RichEdit/RichEdit.cpp +++ b/code/Ui/RichEdit/RichEdit.cpp @@ -1473,6 +1473,10 @@ void RichEdit::eventKey(KeyEvent* event) paste(); else if (ctrl && uch == L'X' && m_clipboard) cut(); + else if (ctrl && uch == L'A') + selectAll(); + else if (ctrl && uch == L'D') + unselect(); else if (ch != 8 && ch != 127) insertCharacter(ch, true);