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