Skip to content

Commit

Permalink
Add "Suggestion: " to the generated suggestions.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
daute committed Jan 4, 2025
1 parent 39d6b16 commit e6803bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Worksheet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) ||
Expand Down

0 comments on commit e6803bb

Please sign in to comment.