From 1445e4180fcdba1e5cb21e4e30f7e39e86df4d0e Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 7 Jun 2022 13:11:00 +0200 Subject: [PATCH] TextEditor: Fix action text It adds the next match to the selection (as a multi-cursor selection), not the selection to the next match. Change-Id: I7520cb3b765562fac2dd45fce5d3b0e4ee7c22c7 Reviewed-by: Reviewed-by: Marcus Tillmanns Reviewed-by: Leena Miettinen --- src/plugins/texteditor/texteditoractionhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index df0cca7a8e6..d0b0172629e 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -330,7 +330,7 @@ void TextEditorActionHandlerPrivate::createActions() QKeySequence(tr("Ctrl+Ins")), G_EDIT_TEXT, advancedEditMenu); registerAction(ADD_SELECT_NEXT_FIND_MATCH, - [] (TextEditorWidget *w) { w->addSelectionNextFindMatch(); }, false, tr("Add Selection to Next Find Match"), + [] (TextEditorWidget *w) { w->addSelectionNextFindMatch(); }, false, tr("Add Next Occurrence to Selection"), QKeySequence(tr("Ctrl+D")), G_EDIT_TEXT, advancedEditMenu); m_modifyingActions << registerAction(DUPLICATE_SELECTION,