From f7a3b3cc5754195a9d8fec4aeb44cbcf11723aef Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Mon, 15 Oct 2018 17:32:43 +0200 Subject: [PATCH] bug --- InterfaceQT4/browser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2