-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Fixed crash executing TextEdit.new().set_draw_control_chars(true) #51673
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was removed from the constructor to increase performance. Instead, It should skip the menu update in set_draw_control_chars
if it has not been created yet.
Okay I will do that. |
Remember to squash your commits: https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html#the-interactive-rebase |
Is right what I have done? Bit inexperienced in git |
Not yet, as you can see there are 5 commits in this PR, when there should be only one. You have to rebase to squash the commits into one (not merge), and force push to update the PR (again, without merging first, otherwise you're re-adding everything you just squashed). I'll do it this time as in the current state it's not trivial to fix when not familiar with Git rebases. |
Thank you so much! Time to watch git tutorials :) |
Thanks! |
Bug was because of uninitialized popup menu. So I put popup menu initialization in constructor itself.
Bugsquad edit: Fixes #51613.