X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBFinalPage.py;h=66a300fafb52e86da7e2ac37a09ee5a65f7fd1ca;hb=b80332689881d540d0389480045787b8510a0556;hp=459c486418a0df4e47e59953a11b0c482779833e;hpb=9253d0ae4fbbefcbe8393800704b59b81d6e7486;p=bertos.git diff --git a/wizard/BFinalPage.py b/wizard/BFinalPage.py index 459c4864..66a300fa 100644 --- a/wizard/BFinalPage.py +++ b/wizard/BFinalPage.py @@ -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. """ @@ -67,11 +68,12 @@ class BFinalPage(BWizardPage): QMessageBox.critical( self, self.tr("Error removing destination directory"), - self.tr("Error removing the destination directory. This directory or a file in it is in use by another user or application.\nClose the application that is using the directory and retry.")) + self.tr("Error removing the destination directory. This directory or a file in it is in use by another user or application.\nClose the application which is using the directory and retry.")) self.wizard().back() 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 + ####