From: pascale.noyret Date: Mon, 12 Mar 2018 12:04:46 +0000 (+0100) Subject: correction 16607 X-Git-Tag: V8_5_0rc1~26^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4e971606750297c690b2b1bf75287f7b028f4b57;p=tools%2Feficas.git correction 16607 --- diff --git a/InterfaceQT4/composimp.py b/InterfaceQT4/composimp.py index 3223fa57..a5227245 100644 --- a/InterfaceQT4/composimp.py +++ b/InterfaceQT4/composimp.py @@ -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"