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

Fix RichTextLabel's tag stack being overridden on translation change #88598

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

YeldhamDev
Copy link
Member

Turns out my "regression" was just me stumbling into a bug. When RichTextLabel reacted to a translation change, it would try to translate its text variable, but if the content was added with the add/push_*() methods, said variable would be empty, and the tag stack would be overridden with an empty string.

Fixes #88532.

@YeldhamDev YeldhamDev added this to the 4.3 milestone Feb 20, 2024
@YeldhamDev YeldhamDev requested a review from a team as a code owner February 20, 2024 15:24
@akien-mga akien-mga merged commit b8f106a into godotengine:master Feb 20, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@YeldhamDev YeldhamDev deleted the this_wasnt_even_my_bug! branch February 20, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tooltip show empty for most properties when hovering
3 participants