Modify the order of the pages.
[bertos.git] / wizard / BVersionPage.py
index 8842289d9aec4bb5cb4199f44946a9df02df266b..452e8a947309637d75906199b3ae0674894157e8 100644 (file)
@@ -69,6 +69,14 @@ class BVersionPage(BWizardPage):
             return True
         else:
             return False
+
+    def nextId(self):
+        """
+        Overload of the QWizard nextId method.
+        """
+        # Pick up the class stored into the project in the 'folder' step
+        page_class = self.projectInfo("ROUTE")
+        return self.wizard().pageIndex(page_class)
     
     ####