Add the wait cursor while validating toolchains
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Feb 2009 10:08:56 +0000 (10:08 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 24 Feb 2009 10:08:56 +0000 (10:08 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2385 38d2e660-2303-0410-9eaa-f027e97ec537

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):