]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
correction 16607
authorpascale.noyret <pascale.noyret@edf.fr>
Mon, 12 Mar 2018 12:04:46 +0000 (13:04 +0100)
committerpascale.noyret <pascale.noyret@edf.fr>
Mon, 12 Mar 2018 12:04:46 +0000 (13:04 +0100)
InterfaceQT4/composimp.py

index 3223fa57c1c14124032fee4a85a98ac13811766e..a5227245421d349370206e9b5073e1a7c2203e63 100644 (file)
@@ -490,6 +490,9 @@ class SIMPTreeItem(Objecttreeitem.AtomicObjectTreeItem):
     if self.isValid():
       if self.object.valeur == self.object.definition.defaut :
          return "ast-green-dark-ball"
+      # cas des tuples et des listes
+      if self.object.definition.max > 1 :
+          if list(self.object.valeur) == list(self.object.definition.defaut) : return "ast-green-dark-ball"
       return "ast-green-ball"
     elif self.object.isOblig():
       return "ast-red-ball"