aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/StartWizard.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens/StartWizard.py')
-rw-r--r--lib/python/Screens/StartWizard.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Screens/StartWizard.py b/lib/python/Screens/StartWizard.py
index 8f356edc..8fc4ecdf 100644
--- a/lib/python/Screens/StartWizard.py
+++ b/lib/python/Screens/StartWizard.py
@@ -6,6 +6,7 @@ from Components.config import configElementBoolean, config, configfile
from LanguageSelection import LanguageSelection
config.misc.firstrun = configElementBoolean("config.misc.firstrun", 1);
+config.misc.languageselected = configElementBoolean("config.misc.languageselected", 1);
class StartWizard(Wizard):
skin = """
@@ -33,9 +34,9 @@ class StartWizard(Wizard):
self["arrowup2"] = MovingPixmap()
def markDone(self):
- config.misc.firstrun.value = 0;
+ config.misc.firstrun.value = 0
config.misc.firstrun.save()
configfile.save()
-wizardManager.registerWizard(LanguageSelection, config.misc.firstrun.value)
+wizardManager.registerWizard(LanguageSelection, config.misc.languageselected.value)
wizardManager.registerWizard(StartWizard, config.misc.firstrun.value)