X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBToolchainPage.py;h=914ebf8083be9ce2a36ba7cc08d703893c9fbd8c;hb=2deaea82d047e5731b28b59b4652ad830b46e3fe;hp=b516943a49b4c71eab2d3ad515290ee0c24c19ff;hpb=bc8b61afa24c8ccecb748ba1aebc5c45ff70cc17;p=bertos.git diff --git a/wizard/BToolchainPage.py b/wizard/BToolchainPage.py index b516943a..914ebf80 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -112,7 +112,7 @@ class BToolchainPage(BWizardPage): self.setupUi() self._populateToolchainList() if len(self._valid_items) >= 1: - self.pageContent.toolchainList.setCurrentItem(self.pageContent.toolchainList.currentItem() or self._valid_items[0]) + self.pageContent.toolchainList.setCurrentItem(self._valid_items[0]) ####