diff options
author | Chris Davis <cd.rattan@gmail.com> | 2014-08-08 19:58:03 -0700 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-10-01 14:32:09 +0200 |
commit | 00765544af53cdfcc6f602b1825f14b97b96beb1 (patch) | |
tree | b67d3791b0b08e7cdd83872e5f9a29f47c8a4109 /source3/utils/regedit_dialog.c | |
parent | 58db858619339084c86a02fd226eaff0854c730f (diff) | |
download | samba-00765544af53cdfcc6f602b1825f14b97b96beb1.tar.gz |
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>
Diffstat (limited to 'source3/utils/regedit_dialog.c')
-rw-r--r-- | source3/utils/regedit_dialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/regedit_dialog.c b/source3/utils/regedit_dialog.c index 6ab550bd8e3..b807c4eda69 100644 --- a/source3/utils/regedit_dialog.c +++ b/source3/utils/regedit_dialog.c @@ -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; |