summaryrefslogtreecommitdiff
path: root/source3/utils/regedit_dialog.c
diff options
context:
space:
mode:
authorChris Davis <cd.rattan@gmail.com>2014-08-08 19:58:03 -0700
committerMichael Adam <obnox@samba.org>2014-10-01 14:32:09 +0200
commit00765544af53cdfcc6f602b1825f14b97b96beb1 (patch)
treeb67d3791b0b08e7cdd83872e5f9a29f47c8a4109 /source3/utils/regedit_dialog.c
parent58db858619339084c86a02fd226eaff0854c730f (diff)
downloadsamba-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.c3
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;