]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
*** empty log message *** V1_0OpenTurns
authorPascale Noyret <pascale.noyret@edf.fr>
Wed, 31 Mar 2010 09:21:25 +0000 (09:21 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Wed, 31 Mar 2010 09:21:25 +0000 (09:21 +0000)
InterfaceQT4/browser.py

index ff9cddec8043a130c3dd4358c5ee49bd2a269a4a..5c04b557b810115b2e98c4f8285aaa90fd1c35f8 100644 (file)
@@ -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()