flush config (to flash) after leave wizard
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 7 Feb 2006 16:31:13 +0000 (16:31 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 7 Feb 2006 16:31:13 +0000 (16:31 +0000)
lib/python/Screens/StartWizard.py

index efff0c9..63f2643 100644 (file)
@@ -1,7 +1,7 @@
 from Wizard import Wizard, wizardManager
 
 from Components.Pixmap import *
 from Wizard import Wizard, wizardManager
 
 from Components.Pixmap import *
-from Components.config import configElementBoolean, config
+from Components.config import configElementBoolean, config, configfile
 
 from LanguageSelection import LanguageSelection
 
 
 from LanguageSelection import LanguageSelection
 
@@ -35,6 +35,7 @@ class StartWizard(Wizard):
        def markDone(self):
                config.misc.firstrun.value = 0;
                config.misc.firstrun.save()
        def markDone(self):
                config.misc.firstrun.value = 0;
                config.misc.firstrun.save()
+               configfile.save()
                
 wizardManager.registerWizard(LanguageSelection, config.misc.firstrun.value)
 wizardManager.registerWizard(StartWizard, config.misc.firstrun.value)
                
 wizardManager.registerWizard(LanguageSelection, config.misc.firstrun.value)
 wizardManager.registerWizard(StartWizard, config.misc.firstrun.value)