From: Pascale Noyret Date: Fri, 18 Jun 2010 08:39:54 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V5_1_4~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=abf44413a3ee2a32e7604735296217fde3ca2018;p=modules%2Feficas.git *** empty log message *** --- diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index b1c2221b..f3a89cd8 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -96,14 +96,16 @@ class MyEficas( qtEficas.Appli ): self.show() - def closeEvent(self,event): - import InterfaceQT4.readercata - if hasattr(InterfaceQT4.readercata,'reader') : - del InterfaceQT4.readercata.reader - global appli - appli = None - event.accept() + #def closeEvent(self,event): + #import InterfaceQT4.readercata + #if hasattr(InterfaceQT4.readercata,'reader') : + # del InterfaceQT4.readercata.reader + #global appli + #appli = None + #event.accept() + # print "_______________________________" + # return 1 # ___________________________ Methodes de l ex Pal __________________________________ @@ -559,15 +561,10 @@ def runEficas( code="ASTER", fichier=None, module = "EFICAS", componentName = "E #if not appli: #une seul instance possible! appli = MyEficas( SalomePyQt.SalomePyQt().getDesktop(), code = code, fichier = fichier, + module = module, componentName = componentName, version=version ) #if not appli: #une seul instance possible! # appli = MyEficas( SalomePyQt.SalomePyQt().getDesktop(), code = code, fichier = fichier, - module = module, componentName = componentName, version=version ) + # module = module, componentName = componentName, version=version ) logger.debug(10*'#'+":runEficas: END") - - -appli = None - - -