small ConfigSelection fix
authorghost <andreas.monzner@multimedia-labs.de>
Thu, 2 Apr 2009 08:16:07 +0000 (10:16 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Thu, 2 Apr 2009 08:16:07 +0000 (10:16 +0200)
lib/python/Components/config.py

index c810e14..4df02d5 100755 (executable)
@@ -287,6 +287,7 @@ class ConfigSelection(ConfigElement):
 
                if default is None:
                        default = self.choices.default()
 
                if default is None:
                        default = self.choices.default()
+               self.default = default
 
                if self.value not in self.choices:
                        self.value = default
 
                if self.value not in self.choices:
                        self.value = default