I have a LineEdit node, and I want to pass its contents to another node before clearing its current text. If I do that naively, what happens is that when I clear the current text, the text that the other node got is also cleared...
How do I do a "pass by copy" rather than "pass by reference"?
According to the docs, passing a string to a function should pass it by copy, rather than reference, but I am finding that is not what happens.