]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorstv <stv@opencascade.com>
Thu, 1 Mar 2007 09:11:52 +0000 (09:11 +0000)
committerstv <stv@opencascade.com>
Thu, 1 Mar 2007 09:11:52 +0000 (09:11 +0000)
src/STD/STD_Application.cxx

index d216e258bfef689d447440bf9f89b8e57aca4be3..d64c3ae5fb9b7dff5e510162a15d95320366550e 100755 (executable)
@@ -108,15 +108,20 @@ void STD_Application::closeApplication()
     savePreferences();
   SUIT_Study* study = activeStudy();
 
-  if ( study ){
+  if ( study )
+  {
+    beforeCloseDoc( study );
+
     study->closeDocument();
 
     setActiveStudy( 0 );
     delete study;
+
+    afterCloseDoc();
   }
 
   setDesktop( 0 );
-  
+
   SUIT_Application::closeApplication();
 }