]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Chgt pour CarmelCND
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 7 Oct 2014 08:52:52 +0000 (08:52 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 7 Oct 2014 08:52:52 +0000 (08:52 +0000)
InterfaceQT4/browser.py

index d4c1e6ca4c92b2c100440bb383721f5f33021745..bc9516bd3081cdf3d7ace3c2fbf38d49ac475202 100644 (file)
@@ -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)