From: pascale.noyret Date: Wed, 12 Oct 2016 09:07:13 +0000 (+0200) Subject: bug de la poubelle X-Git-Tag: V8_1_0p0~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ab719caf27411274daaa511a4d8906bec8000573;p=modules%2Feficas.git bug de la poubelle --- diff --git a/Ihm/I_MCFACT.py b/Ihm/I_MCFACT.py index 348341f1..a2aba1ef 100644 --- a/Ihm/I_MCFACT.py +++ b/Ihm/I_MCFACT.py @@ -37,7 +37,10 @@ class MCFACT(I_MCCOMPO.MCCOMPO): return 0 def isoblig(self): - return self.definition.statut=='o' + if self.definition.statut != 'o' : return 0 + objet = self.parent.get_child(self.nom) + if len(objet) > 1 : return 0 + else : return 1 def getlabeltext(self): """