From: Pascale Noyret Date: Fri, 23 Nov 2012 15:46:17 +0000 (+0000) Subject: Pour le closeEvent X-Git-Tag: mergeto_V7_main_08mar13~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb282126390a8939cbd8ff140c8a96ee0893649f;p=tools%2Feficas.git Pour le closeEvent --- diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index 9e43529b..b6953b6e 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -96,6 +96,10 @@ class MyEficas( qtEficas.Appli ): def closeEvent(self,event): + res=self.fileExit() + if res==2 : + event.ignore() + return if hasattr(self,'readercata') : del self.readercata global appli