summaryrefslogtreecommitdiffstats
path: root/source3/utils/regedit.c
diff options
context:
space:
mode:
authorC. Davis <cd.rattan@gmail.com>2012-08-07 23:41:50 -0700
committerMichael Adam <obnox@samba.org>2013-04-29 13:06:07 +0200
commitaf60882af4f34556b101d6735095014304620b2d (patch)
tree8d10dfd66c9460f9d90bf8a57b259c049038fcca /source3/utils/regedit.c
parent14364997c75a7ea2b9f698f97421ed7227a3a5d7 (diff)
downloadsamba-af60882af4f34556b101d6735095014304620b2d.tar.gz
samba-af60882af4f34556b101d6735095014304620b2d.tar.xz
samba-af60882af4f34556b101d6735095014304620b2d.zip
regedit: Save contents of value editor.
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils/regedit.c')
-rw-r--r--source3/utils/regedit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/regedit.c b/source3/utils/regedit.c
index cf97668494..9c8724d136 100644
--- a/source3/utils/regedit.c
+++ b/source3/utils/regedit.c
@@ -175,7 +175,9 @@ static void handle_value_input(struct regedit *regedit, int c)
if (vitem) {
struct tree_node *node;
node = item_userptr(current_item(regedit->keys->menu));
- dialog_edit_value(regedit, node->key, vitem, regedit->main_window);
+ dialog_edit_value(regedit, node->key, vitem->type,
+ vitem, regedit->main_window);
+ value_list_load(regedit->vl, node->key);
}
break;
case 'd':