Function AcceptDialog.registerTextEnter

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

void registerTextEnter (
  Node line_edit
) nothrow @nogc;