From 53de2b94891360d4044776bb9ad7a82da2da60e4 Mon Sep 17 00:00:00 2001 From: gboulant <> Date: Fri, 5 Dec 2008 16:37:05 +0000 Subject: [PATCH] =?utf8?q?GBO:=20Correction=20pour=20=C3=A9viter=20l'effac?= =?utf8?q?ement=20de=20la=20vue=20CAO=20lors=20de=20la=20s=C3=A9lection=20?= =?utf8?q?dans=20Eficas?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/EFICASGUI/eficasSalome.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index ae945b74..422fe38d 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -549,8 +549,7 @@ class MyEficas( qtEficas.Appli ): Note: Appelé par EFICAS lorsqu'on clique sur le bouton ajouter à la liste du panel AFF_CHAR_MECA """ names, msg = [], '' - #try: - if 1 : + try: self.editor=editor atLeastOneStudy = self.__studySync() if not atLeastOneStudy: @@ -571,10 +570,8 @@ class MyEficas( qtEficas.Appli ): if names and len( names ) < nbEntries: msg = msgIncompleteSelection - salome.sg.EraseAll() - #except: - else: - logger.debug(50*'=') + except: + logger.debug("selectGroupFromSalome: An error occurs") return names, msg -- 2.39.2