mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +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:
committed by
Michael Adam
parent
58db858619
commit
00765544af
@ -777,6 +777,9 @@ static void text_field_on_input(struct dialog *dia,
|
|||||||
case KEY_BACKSPACE:
|
case KEY_BACKSPACE:
|
||||||
form_driver(text_field->form, REQ_DEL_PREV);
|
form_driver(text_field->form, REQ_DEL_PREV);
|
||||||
break;
|
break;
|
||||||
|
case KEY_DC:
|
||||||
|
form_driver(text_field->form, REQ_DEL_CHAR);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
form_driver(text_field->form, c);
|
form_driver(text_field->form, c);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user