enterSubmits property

bool enterSubmits
getter/setter pair

When true, Enter / numpad Enter presses the main button of the button-only dialogs (error, success, attention: close; yes/no: yes). Off by default (1.1.0 behaviour); dialogs with a text field or a timer never take Enter.

Implementation

static bool enterSubmits = false;