From: pascale.noyret Date: Fri, 21 Apr 2017 11:48:03 +0000 (+0200) Subject: :: dans le label X-Git-Tag: V8_3_0~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4bd8d1e0738d27448fc887a4d99ef85eb469da33;p=tools%2Feficas.git :: dans le label --- 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() ) )