From 4e971606750297c690b2b1bf75287f7b028f4b57 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Mon, 12 Mar 2018 13:04:46 +0100 Subject: [PATCH] correction 16607 --- InterfaceQT4/composimp.py | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.39.2