Setup the nextId overriden method.
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 12:38:13 +0000 (12:38 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 12:38:13 +0000 (12:38 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3455 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BRoutePage.py

index 418f2b95ec8c8785d3684c5eca5f44afeb9db540..633fac4affd2355ab82c811ac5771b12a0280046 100644 (file)
@@ -38,8 +38,8 @@ from PyQt4.QtGui import *
 
 from BWizardPage import BWizardPage
 
-from BCpuPage import BCpuPage
 from BOutputPage import BOutputPage
+from BToolchainPage import BToolchainPage
 
 import const
 import qvariant_converter
@@ -69,7 +69,10 @@ class BRoutePage(BWizardPage):
         """
         # Route to Toolchain page if the user select advanced
         # or to Output page if the user select base
-        return self.wizard().pageIndex(BToolchainPage)
+        if self.advanced:
+            return self.wizard().pageIndex(BToolchainPage)
+        else:
+            return self.wizard().pageIndex(BOutputPage)
 
     ####