X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Ihm%2FI_MCSIMP.py;h=53067a77173f406a321d8bd92691654f7278be9f;hb=5ecef0dc64055f54a1f864b979e58cc05f1c9f4a;hp=dd02069d3cdf4cbcc0541b2e4ab42a11e918aeea;hpb=1b91010fc2c0a681db9177d6fa0e4e0af866ec31;p=tools%2Feficas.git diff --git a/Ihm/I_MCSIMP.py b/Ihm/I_MCSIMP.py index dd02069d..53067a77 100644 --- a/Ihm/I_MCSIMP.py +++ b/Ihm/I_MCSIMP.py @@ -64,6 +64,8 @@ class MCSIMP(I_OBJECT.OBJECT): if hasattr(type_permis, "__class__") and type_permis.__class__.__name__ == 'Matrice': self.monType=type_permis return self.valideMatrice(cr=cr) + if self.definition.siValide != None : + self.definition.siValide(self) return Validation.V_MCSIMP.MCSIMP.isvalid(self,cr=cr) def GetNomConcept(self): @@ -442,7 +444,8 @@ class MCSIMP(I_OBJECT.OBJECT): # Glut Horrible pour les matrices ??? if sd.__class__.__name__== "variable": for type_permis in self.definition.type: - if type(type_permis) == types.InstanceType: + #if type(type_permis) == types.InstanceType: + # a voir en python 3 if type_permis.__class__.__name__ == 'Matrice' : self.state="changed" self.isvalid()