Change the name of the module
[bertos.git] / wizard / BFinalPage.py
index db1a68ee3f9b4a5a4dfdc5a10d731491e1a622fe..9fd481d3d020abd0f13ffe6ef8624738feda5747 100644 (file)
@@ -36,5 +36,18 @@ class BFinalPage(BWizardPage):
         QApplication.instance().setOverrideCursor(Qt.WaitCursor)
         bertos_utils.createBertosProject(self.project())
         QApplication.instance().restoreOverrideCursor()
+        if os.name == "nt":
+            output = self.projectInfo("OUTPUT")
+            import winreg_importer
+            command_lines = winreg_importer.getCommandLines()
+            if "codelite" in output and "codelite" in command_lines:
+                self.pageContent.codeliteCheck.setVisible(True)
+            
+    
+    def setupUi(self):
+        """
+        Overload of the BWizardPage setupUi method.
+        """
+        self.pageContent.codeliteCheck.setVisible(False)
     
     ####
\ No newline at end of file