From 02481ae4160be2166320ccff5ba446e56a30b11b Mon Sep 17 00:00:00 2001 From: stv Date: Thu, 1 Mar 2007 09:11:52 +0000 Subject: [PATCH] *** empty log message *** --- src/STD/STD_Application.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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(); } -- 2.39.2