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

RichTextLabel's text is not copied on duplication #35553

Closed
Tracked by #39144
YeldhamDev opened this issue Jan 25, 2020 · 3 comments · Fixed by #39148
Closed
Tracked by #39144

RichTextLabel's text is not copied on duplication #35553

YeldhamDev opened this issue Jan 25, 2020 · 3 comments · Fixed by #39148

Comments

@YeldhamDev
Copy link
Member

YeldhamDev commented Jan 25, 2020

Godot version:
f678141

Issue description:
When duplicating a RichTextLabel node via the editor, its text property will not be copied to the new node.

The bbcode_text, however, will be copied, and I think it overrides the textproperty and clears it, causing the bug.

@dankan1890
Copy link
Contributor

dankan1890 commented Jan 26, 2020

I'm unable to reproduce it on windows 10 and Godot version 72c44ba
no_bug

@YeldhamDev
Copy link
Member Author

Oops, wrong node, I meant RichTextLabel.

@YeldhamDev YeldhamDev changed the title TextEdit's text is not copied on duplication RichTextLabel's text is not copied on duplication Jan 26, 2020
@dankan1890
Copy link
Contributor

Ah ok, I confirm that "text" is overwritten by "bbcode_text" in the duplication.

Ps: out of the issue, in the RichTextLabel node, wouldn't it be more logical to have only one text box?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants