git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d892321
)
small ConfigSelection fix
author
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 2 Apr 2009 08:16:07 +0000
(10:16 +0200)
committer
ghost
<andreas.monzner@multimedia-labs.de>
Thu, 2 Apr 2009 08:16:07 +0000
(10:16 +0200)
lib/python/Components/config.py
patch
|
blob
|
history
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