From f0f708c0a2097e6ba1209c5bec47f7ce38bd599f Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 12 Dec 2006 13:23:56 +0000 Subject: [PATCH] PN : bug mineur selection (cf AMA) --- Editeur/panelsSalome.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Editeur/panelsSalome.py b/Editeur/panelsSalome.py index 85a4d80d..6381ba7e 100644 --- a/Editeur/panelsSalome.py +++ b/Editeur/panelsSalome.py @@ -102,9 +102,15 @@ class SALOME_PLUSIEURS_BASE_Panel(PLUSIEURS_BASE_Panel): if not valeur: # sélection dans salome strSelection = '' - selection, msg = self.parent.appli.selectGroupFromSalome() - - + genea=self.node.item.get_genealogie() + kwType = None + for e in genea: + if "GROUP_NO" in e: + kwType = "GROUP_NO" + if "GROUP_MA" in e: + kwType = "GROUP_MA" + + selection, msg = self.parent.appli.selectGroupFromSalome(kwType) if selection: for oneSelection in selection: strSelection +=str( oneSelection ) -- 2.39.2