From 8e25b951684719b2f99d0ee9dd1c7b502da6d315 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 7 Oct 2014 08:52:52 +0000 Subject: [PATCH] Chgt pour CarmelCND --- InterfaceQT4/browser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2