From: Pascale Noyret Date: Wed, 31 Mar 2010 09:21:25 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V1_0OpenTurns X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4345dd51515c11903e19e9c45bbde3d57564b509;p=tools%2Feficas.git *** empty log message *** --- diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index ff9cddec..5c04b557 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -278,8 +278,10 @@ class JDCNode(QTreeWidgetItem): self.editor.init_modif() index = self.treeParent.children.index(self) - 1 if index < 0 : index =0 + recalcule=0 if self.item.nom == "VARIABLE" : - self.item.jdc.set_Copules_recalcule_etat() + recalcule=1 + jdc=self.item.jdc ret=self.treeParent.item.suppitem(self.item) if ret == 0:return @@ -290,6 +292,8 @@ class JDCNode(QTreeWidgetItem): toselect=brothers[index] else: toselect=self.treeParent + if recalcule : + jdc.recalcule_etat_correlation() toselect.select() toselect.affichePanneau()