From 4bd8d1e0738d27448fc887a4d99ef85eb469da33 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Fri, 21 Apr 2017 13:48:03 +0200 Subject: [PATCH] :: dans le label --- InterfaceQT4/browser.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index 8dd4f2cd..0db619cb 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -214,8 +214,9 @@ class JDCNode(QTreeWidgetItem,GereRegles): from InterfaceQT4 import composimp if (isinstance(self.item,compocomm.COMMTreeItem)) : name=tr("Commentaire") elif (isinstance(self.item,compoparam.PARAMTreeItem)) : name=tr(str(item.GetLabelText()[0])) - else: name = tr(str(tr(item.GetLabelText()[0]))+" :") - if item.GetLabelText() != item.nom and item.nom != tr(item.nom) : name = str(tr(item.nom)) + #else: name = tr(str(tr(item.GetLabelText()[0]))+" :") + else: name = tr(str(tr(item.GetLabelText()[0]))) + if item.nom != tr(item.nom) : name = str(tr(item.nom)+" :") value = tr(str( item.GetText() ) ) -- 2.39.2