I have 2 LineEdits(mailin and passin) in a menu of mine and i would like the next LineEdit to be focused when the user presses enter on it.
My current not working code would be:
but it doesnt work since text_entered returns a string and grab_focus doesnt expect any arguments, so it throws an error.
is there any way to achieve this functionality without having to create an intermediate function in my script that only calls grab_focus without arguments?
since that solution seems quite redundant