From: ghost Date: Thu, 2 Apr 2009 08:16:07 +0000 (+0200) Subject: small ConfigSelection fix X-Git-Tag: 2.6.0~343^2~7^2~2 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/85a8ad979e678d9948102e1d7811e46e3f9f57f3?hp=d892321813a7129f777ab69d05afb8a38cb737b0;ds=sidebyside small ConfigSelection fix --- diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index c810e14b..4df02d5d 100755 --- 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