X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCpuPage.py;h=abf0251f6c1de911e4887fb5cd7a81aecc0ff666;hb=8b2b3759daf3222963cbb3cd4364fef556622e87;hp=3fc339f25c37b37adda8b500381b5085a07df6c3;hpb=71696266dfa3a8fac8f43baae206e99eedf01762;p=bertos.git diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index 3fc339f2..abf0251f 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -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") + cpu_name = self._projectInfoRetrieve("CPU_NAME") self._setupUi() - if not cpuName is None: - self._selectItem(cpuName) + if not cpu_name is None: + self._selectItem(cpu_name) + QApplication.instance().restoreOverrideCursor() self.emit(SIGNAL("completeChanged()")) def isComplete(self):