From: Pascale Noyret Date: Tue, 7 Oct 2014 08:52:52 +0000 (+0000) Subject: Chgt pour CarmelCND X-Git-Tag: V7_5_0rc1~26 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e25b951684719b2f99d0ee9dd1c7b502da6d315;p=tools%2Feficas.git Chgt pour CarmelCND --- diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index d4c1e6ca..bc9516bd 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -110,8 +110,8 @@ class JDCNode(QTreeWidgetItem): #if hasattr(self.editor, 'affichage_onglet' ) :self.affichage_onglet=self.editor.affichage_onglet #else : self.affichage_onglet=False - name = self.appliEficas.trUtf8( item.GetLabelText()[0] ) - value = self.appliEficas.trUtf8( item.GetText() ) + name = self.appliEficas.trUtf8(str( item.GetLabelText()[0]) ) + value = self.appliEficas.trUtf8(str( item.GetText() )) mesColonnes=QStringList() mesColonnes << name << value QTreeWidgetItem.__init__(self,treeParent,mesColonnes)