1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

regedit: handle DEL key in text fields

Signed-off-by: Chris Davis <cd.rattan@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Chris Davis
2014-08-08 19:58:03 -07:00
committed by Michael Adam
parent 58db858619
commit 00765544af

View File

@ -777,6 +777,9 @@ static void text_field_on_input(struct dialog *dia,
case KEY_BACKSPACE:
form_driver(text_field->form, REQ_DEL_PREV);
break;
case KEY_DC:
form_driver(text_field->form, REQ_DEL_CHAR);
break;
default:
form_driver(text_field->form, c);
break;