X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2FBBoardPage.py;h=f063e77448402b524cf283b1ef34b3178da2ff55;hb=35be7aa348f671b0ed50ee43d903444edc4892af;hp=fd6fc9292e7a51afe8fe83fe9ec97fe813eb021a;hpb=555cbb67fec0dd4fce3108f0f3f92ffdacc87c85;p=bertos.git diff --git a/wizard/BBoardPage.py b/wizard/BBoardPage.py index fd6fc929..f063e774 100644 --- a/wizard/BBoardPage.py +++ b/wizard/BBoardPage.py @@ -54,7 +54,7 @@ class BBoardPage(BWizardPage): def __init__(self): BWizardPage.__init__(self, const.UI_LOCATION + "/board_select.ui") - self.setTitle(self.tr("Select the board from the predefined ones")) + self.setTitle(self.tr("Select your development board")) ## Overloaded QWizardPage methods ## @@ -93,8 +93,8 @@ class BBoardPage(BWizardPage): """ Overload of the BWizardPage connectSignals method. """ - self.connect(self.pageContent.boardList, SIGNAL("itemSelectionChanged()"), self.updateUi) - self.connect(self.pageContent.boardList, SIGNAL("itemSelectionChanged()"), self, SIGNAL("completeChanged()")) + self.connect(self.pageContent.boardList, SIGNAL("currentItemChanged(QListWidgetItem*,QListWidgetItem*)"), self.updateUi) + self.connect(self.pageContent.boardList, SIGNAL("currentItemChanged(QListWidgetItem*,QListWidgetItem*)"), self, SIGNAL("completeChanged()")) self.connect(self.pageContent.customButton, SIGNAL("clicked()"), self.customButtonClicked) def reloadData(self): @@ -142,4 +142,4 @@ class BBoardPage(BWizardPage): @property def selected(self): - return self.pageContent.boardList.currentItem() \ No newline at end of file + return self.pageContent.boardList.currentItem()