From: pascale.noyret Date: Mon, 15 Oct 2018 15:32:43 +0000 (+0200) Subject: bug X-Git-Tag: V9_2_0b_ok_ADAO~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f7a3b3cc5754195a9d8fec4aeb44cbcf11723aef;p=tools%2Feficas.git bug --- diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index a52b2041..c4df0643 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -735,7 +735,7 @@ class JDCNode(QTreeWidgetItem,GereRegles): #print "NODE updateNodeLabel", self.item.getLabelText() labeltext,fonte,couleur = self.item.getLabelText() # PNPN a reflechir - if item.nom != tr(item.nom) : labeltext = str(tr(item.nom)+" :") + if self.item.nom != tr(self.item.nom) : labeltext = str(tr(self.item.nom)+" :") self.setText(0, tr(labeltext)) def updateNodeLabelInBlack(self): @@ -747,7 +747,7 @@ class JDCNode(QTreeWidgetItem,GereRegles): if hasattr(self.appliEficas,'noeudColore'): self.appliEficas.noeudColore.setForeground(0,Qt.black) self.setForeground(0,Qt.blue) labeltext,fonte,couleur = self.item.getLabelText() - if item.nom != tr(item.nom) : labeltext = str(tr(item.nom)+" :") + if self.item.nom != tr(self.item.nom) : labeltext = str(tr(self.item.nom)+" :") self.setText(0, labeltext) self.appliEficas.noeudColore=self