summaryrefslogtreecommitdiff
path: root/source3/utils/regedit.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/regedit.c')
-rw-r--r--source3/utils/regedit.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/utils/regedit.c b/source3/utils/regedit.c
index 9c8724d136..a18a79dcc2 100644
--- a/source3/utils/regedit.c
+++ b/source3/utils/regedit.c
@@ -180,6 +180,15 @@ static void handle_value_input(struct regedit *regedit, int c)
value_list_load(regedit->vl, node->key);
}
break;
+ case 'n':
+ case 'N': {
+ int new_type;
+
+ if (dialog_select_type(regedit, &new_type, regedit->main_window) == DIALOG_OK) {
+ mvwprintw(regedit->main_window, 1, 0, "Item: %s (%d)", str_regtype(new_type), new_type);
+ }
+ break;
+ }
case 'd':
case 'D':
vitem = item_userptr(current_item(regedit->vl->menu));