+ def validatePage(self):
+ """
+ This hack permits to load the preset once, when the user go press the
+ Next button.
+ """
+ preset_path = self.selected_path
+ try:
+ QApplication.instance().setOverrideCursor(Qt.WaitCursor)
+ self.project.loadProjectFromPreset(preset_path)
+ finally:
+ QApplication.instance().restoreOverrideCursor()
+ # Return always True, this is a fake validation.
+ return True
+