Fix toolchain validation in case of multiple occurrences of the characters "gcc"...
[bertos.git] / wizard / BFinalPage.py
index 4963f40dca76dab970e08b8ca3e706ef9f712291..66a300fafb52e86da7e2ac37a09ee5a65f7fd1ca 100644 (file)
@@ -49,11 +49,12 @@ class BFinalPage(BWizardPage):
     
     def __init__(self):
         BWizardPage.__init__(self, UI_LOCATION + "/final_page.ui")
-        self.setTitle(self.tr("Project created successfully"))
+        self.setTitle(self.tr("Project created successfully!"))
     
     ## Overloaded BWizardPage methods ##
         
-    def reloadData(self):
+    def reloadData(self, previous_id=None):
+        self.setVisible(False)
         """
         Overload of the BWizardPage reloadData method.
         """
@@ -72,6 +73,7 @@ class BFinalPage(BWizardPage):
                 return
         finally:
             QApplication.instance().restoreOverrideCursor()
+        self.setVisible(True)
         self._plugin_dict = {}
         if os.name == "nt":
             output = self.projectInfo("OUTPUT")
@@ -115,4 +117,4 @@ class BFinalPage(BWizardPage):
                 to_be_opened.append(plugin)
         self.setProjectInfo("TO_BE_OPENED", to_be_opened)
     
-    ####
\ No newline at end of file
+    ####