summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index b733262..1a07da3 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2982,6 +2982,7 @@ class Symbol(object):
value = STR_TO_TRI[value]
self.user_value = value
+ self._was_set = True
if self.choice and value == 2:
# Setting a choice symbol to y makes it the user selection of the
@@ -2992,7 +2993,6 @@ class Symbol(object):
self.choice._was_set = True
self.choice._rec_invalidate()
else:
- self._was_set = True
self._rec_invalidate_if_has_prompt()
return True