aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/mconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/config/mconf.c')
-rw-r--r--scripts/config/mconf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/config/mconf.c b/scripts/config/mconf.c
index 4896481942..083b23efa3 100644
--- a/scripts/config/mconf.c
+++ b/scripts/config/mconf.c
@@ -920,6 +920,9 @@ static void conf_choice(struct menu *menu)
case 0:
if (sscanf(input_buf, "%p", &child) != 1)
break;
+ if ((menu->sym->flags & SYMBOL_RESET) &&
+ sym_get_tristate_value(child->sym) != yes)
+ conf_reset();
sym_set_tristate_value(child->sym, yes);
return;
case 1: