Function AcceptDialog.registerTextEnter
Registers a LineEdit in the dialog. When the enter key is pressed, the dialog will be accepted.
Registers a LineEdit in the dialog. When the enter key is pressed, the dialog will be accepted.