From fd20f5eb9217b99b297dd034b5d55d4ef0ea73be Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Fri, 1 Dec 2006 16:03:56 +0000 Subject: [PATCH] *** empty log message *** --- src/EFICASGUI/EFICASGUI.py | 3 +++ src/EFICASGUI/eficasSalome.py | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/EFICASGUI/EFICASGUI.py b/src/EFICASGUI/EFICASGUI.py index 1419a017..e7c8ea57 100644 --- a/src/EFICASGUI/EFICASGUI.py +++ b/src/EFICASGUI/EFICASGUI.py @@ -186,6 +186,9 @@ def runEficasFichier(): elif aType == studyManager.FICHIER_EFICAS_HOMARD: fileName = aValue code = "HOMARD" + else: + fileName=None + code = "ASTER" else: code = "ASTER" diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index 1cf7920b..3f632678 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -202,9 +202,14 @@ class MyEficas( Tkinter.Toplevel, eficas.EFICAS ): def quit(self): global appli + appli = None self.destroy() + + def destroy(self): + global appli appli = None - + print "hhhhhhhhhhhhhhhhhhhhh" + Tkinter.Toplevel.destroy(self) def __studySync( self ): """ -- 2.39.2