From: duplo Date: Mon, 19 Apr 2010 12:38:13 +0000 (+0000) Subject: Setup the nextId overriden method. X-Git-Tag: 2.5.0~453 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c19d4b6615265acdd889d1634f3688d6c6d35ce2;p=bertos.git Setup the nextId overriden method. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3455 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BRoutePage.py b/wizard/BRoutePage.py index 418f2b95..633fac4a 100644 --- a/wizard/BRoutePage.py +++ b/wizard/BRoutePage.py @@ -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) ####