]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
Pour le closeEvent
authorPascale Noyret <pascale.noyret@edf.fr>
Fri, 23 Nov 2012 15:46:17 +0000 (15:46 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Fri, 23 Nov 2012 15:46:17 +0000 (15:46 +0000)
src/EFICASGUI/eficasSalome.py

index 9e43529be2c3ddcbadc359d94d5fceb2a7d3ed15..b6953b6e29bceb444aa8e4b8677f64617dfc1df3 100644 (file)
@@ -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