]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorstv <stv@opencascade.com>
Mon, 30 May 2005 09:28:34 +0000 (09:28 +0000)
committerstv <stv@opencascade.com>
Mon, 30 May 2005 09:28:34 +0000 (09:28 +0000)
src/SalomeApp/SalomeApp_Application.cxx
src/SalomeApp/SalomeApp_Application.h

index f3c344e6a226e1d6b7222c6448c1b7a65a602bee..26cfbedcd5fae732dfff2890203ff4efd02fedbd 100644 (file)
@@ -696,9 +696,7 @@ void SalomeApp_Application::onStudyClosed( SUIT_Study* )
 
   activateModule( "" );
   if ( objectBrowser() != 0 )
-  {
     objectBrowser()->setRootObject( 0 );
-  }
 
   saveWindowsGeometry();
 }
@@ -708,6 +706,13 @@ QString SalomeApp_Application::getFileFilter() const
   return "(*.hdf)";
 }
 
+void SalomeApp_Application::afterCloseDoc()
+{
+  updateWindows();
+
+  CAM_Application::afterCloseDoc();
+}
+
 void SalomeApp_Application::updateActions()
 {
   updateCommandsStatus();
index 6d43f2a759640ac1be886012029aa56eaa111db6..5709b9a5e151efaef110384f9ae4ca76d6a0e23b 100644 (file)
@@ -111,6 +111,8 @@ protected:
 
   virtual void                        onSelectionChanged();
 
+  virtual void                        afterCloseDoc();
+
 private slots:
   void                                onNewWindow();
   void                                onModuleActivation( QAction* );