From e6803bbe42f4b76726b60474c999af681286aa4d Mon Sep 17 00:00:00 2001 From: Wolfgang Dautermann Date: Sat, 4 Jan 2025 09:33:13 +0100 Subject: [PATCH] Add "Suggestion: " to the generated suggestions. Otherwise the pop-up menu point can be labeled with just with "quit", "delete", ... - and that might be irritating. Still no idea, why the menu sometimes causes crashes, but it is useful, I don't want to disable it. --- src/Worksheet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worksheet.cpp b/src/Worksheet.cpp index a2e3f1dd9..f1cddb8d8 100644 --- a/src/Worksheet.cpp +++ b/src/Worksheet.cpp @@ -1824,7 +1824,7 @@ void Worksheet::OnMouseRightDown(wxMouseEvent &event) { for (unsigned int i = 0; i < m_replacementsForCurrentWord.size(); i++) popupMenu.Append(EventIDs::popid_suggestion1 + i, - m_replacementsForCurrentWord.at(i)); + _("Suggestion: ") + m_replacementsForCurrentWord.at(i)); } popupMenu.AppendSeparator(); if ((group->ContainsSavedAnswers()) ||