X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBFinalPage.py;h=2306b8630d8adec21b6c9a54ad0e2b751bc6a2dc;hb=52d65db7c052108ba5d004dc4687f938d6f3dc90;hp=1285850aea9bb2fb66a2b6573ecfae403316832b;hpb=264df59535958b2180719f01ef29cf655839b5c6;p=bertos.git diff --git a/wizard/BFinalPage.py b/wizard/BFinalPage.py index 1285850a..2306b863 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): + self.setVisible(False) """ Overload of the BWizardPage reloadData method. """ @@ -64,11 +65,15 @@ class BFinalPage(BWizardPage): # locked. self.project.createBertosProject() except OSError, e: - QMessageBox.critical(self, self.tr("Error removing destination directory"), self.tr("Close all the application using this directory and retry.")) + 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 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") @@ -112,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 + ####