X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBCpuPage.py;h=2d616d53fa900d767255c1ea71b4de36338de4a3;hb=81af9d37a22952d1b5c45cf09e5653c1b925e1d7;hp=6289efd839f4701885421139482eaf166efd8d60;hpb=3443db30df3da92f9842fbc198e0090d55aee676;p=bertos.git diff --git a/wizard/BCpuPage.py b/wizard/BCpuPage.py index 6289efd8..2d616d53 100644 --- a/wizard/BCpuPage.py +++ b/wizard/BCpuPage.py @@ -12,10 +12,7 @@ from BWizardPage import * import bertos_utils -if PYQT_VERSION_STR > "4.4.3": - import qvariant_converter_new as qvariant_converter -else: - import qvariant_converter_old as qvariant_converter +import qvariant_converter class BCpuPage(BWizardPage): @@ -43,6 +40,7 @@ class BCpuPage(BWizardPage): self.pageContent.cpuList.setCurrentItem(elements[0]) def _setupUi(self): + self.pageContent.cpuList.setSortingEnabled(True) self.pageContent.descriptionLabel.setVisible(False) self.pageContent.descriptionLabel.setText("")