Add the wait cursor while validating toolchains
[bertos.git] / wizard / BCpuPage.py
index 3fc339f25c37b37adda8b500381b5085a07df6c3..3658635f8b2e904f54c0ce3a55974a117c67d2f2 100644 (file)
@@ -47,12 +47,14 @@ class BCpuPage(BWizardPage):
         self.pageContent.descriptionLabel.setText("")
     
     def reloadData(self):
+        QApplication.instance().setOverrideCursor(Qt.WaitCursor)
         bertos_utils.loadSourceTree(self._project())
         self._populateCpuList()
         cpuName = self._projectInfoRetrieve("CPU_NAME")
         self._setupUi()
         if not cpuName is None:
             self._selectItem(cpuName)
+        QApplication.instance().restoreOverrideCursor()
         self.emit(SIGNAL("completeChanged()"))
     
     def isComplete(self):