From 5bc9cc564e10d123d6f0e7073a3e16586799415e Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Wed, 31 Mar 2010 09:21:25 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT4/browser.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- 2.39.2