git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support for a final post-destroy value
[enigma2.git]
/
lib
/
python
/
Components
/
config.py
diff --git
a/lib/python/Components/config.py
b/lib/python/Components/config.py
index c810e14beb7de3dfa49bd2a29db4ef3ff3ede541..4df02d5d6aa3ca2c3962340501a4d4b73b6ec4e1 100755
(executable)
--- a/
lib/python/Components/config.py
+++ b/
lib/python/Components/config.py
@@
-287,6
+287,7
@@
class ConfigSelection(ConfigElement):
if default is None:
default = self.choices.default()
+ self.default = default
if self.value not in self.choices:
self.value = default