Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxGUI: do not crash on localized GUIs #2488

Merged
merged 1 commit into from
Jul 21, 2022
Merged

Conversation

marisn
Copy link
Contributor

@marisn marisn commented Jul 21, 2022

PR #2469 (908c5e2) introduced a code that uses English UI strings to identify UI elements. In the case of a translated UI it fails to get element and then proceeds to manipulate with not existing element leading to an assert in C++ wx code.

PR OSGeo#2469 (908c5e2) introduced
a code that uses English UI strings to identify UI elements.
In the case of a translated UI it fails to get element and then
proceeds to manipulate with not existing element leading to
an assert in C++ wx code.
@marisn marisn requested a review from tmszi July 21, 2022 10:40
Copy link
Member

@tmszi tmszi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tmszi tmszi added bug Something isn't working GUI wxGUI related labels Jul 21, 2022
@tmszi tmszi added this to the 8.4.0 milestone Jul 21, 2022
@marisn marisn merged commit 5698642 into OSGeo:main Jul 21, 2022
@marisn marisn deleted the fix_localized_wxGUI branch July 21, 2022 12:34
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Oct 26, 2022
PR OSGeo#2469 (908c5e2) introduced
a code that uses English UI strings to identify UI elements.
In the case of a translated UI it fails to get element and then
proceeds to manipulate with not existing element leading to
an assert in C++ wx code.
ninsbl pushed a commit to ninsbl/grass that referenced this pull request Feb 17, 2023
PR OSGeo#2469 (908c5e2) introduced
a code that uses English UI strings to identify UI elements.
In the case of a translated UI it fails to get element and then
proceeds to manipulate with not existing element leading to
an assert in C++ wx code.
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
PR OSGeo#2469 (908c5e2) introduced
a code that uses English UI strings to identify UI elements.
In the case of a translated UI it fails to get element and then
proceeds to manipulate with not existing element leading to
an assert in C++ wx code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI wxGUI related
Projects
None yet
2 participants