From: pascale.noyret Date: Mon, 15 Oct 2018 15:34:01 +0000 (+0200) Subject: bu X-Git-Tag: HYDRO_V2_0_0^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e4f12e00967331ae4f54b0c8504bdfe457d77ae4;p=modules%2Feficas.git bu --- diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index deb58df3..d7634c11 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -735,7 +735,7 @@ class JDCNode(QTreeWidgetItem,GereRegles): """ Met a jour le label du noeud """ #print ("NODE updateNodeLabel", self.item.getLabelText()) 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)+" :") # PNPN a reflechir self.setText(0, tr(labeltext)) @@ -748,7 +748,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