From: stv Date: Thu, 1 Mar 2007 09:11:52 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: For_HDF~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=02481ae4160be2166320ccff5ba446e56a30b11b;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index d216e258b..d64c3ae5f 100755 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -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(); }