From cb282126390a8939cbd8ff140c8a96ee0893649f Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Fri, 23 Nov 2012 15:46:17 +0000 Subject: [PATCH] Pour le closeEvent --- src/EFICASGUI/eficasSalome.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2