]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
PN bug notation scientifique
authoreficas <>
Fri, 11 Mar 2005 15:03:23 +0000 (15:03 +0000)
committereficas <>
Fri, 11 Mar 2005 15:03:23 +0000 (15:03 +0000)
Editeur/widgets.py

index 5a33d958671d3767c8d921bbf77330f0df56f5ce..30cabe747566be78ea628ca33bea2c57554fe2fc 100644 (file)
@@ -743,7 +743,11 @@ class ListeChoix :
                   mot=mot+"," 
                  else:
                    premier=0
-                 mot=mot+str(val)
+                 valtexte = self.parent.get_valeur_texte(val)
+                 if valtexte != "" :
+                    mot=mot+valtexte
+                 else:
+                    mot=mot+str(val)
               mot=mot+")"
           else:
               mot=`objet`