]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
IPAL21406 Problem with closing second study
authordmv <dmv@opencascade.com>
Mon, 12 Oct 2009 08:20:14 +0000 (08:20 +0000)
committerdmv <dmv@opencascade.com>
Mon, 12 Oct 2009 08:20:14 +0000 (08:20 +0000)
src/SalomeApp/SalomeApp_Application.cxx

index cad9a43cb7b5281aee9eaba5bc56bad2ce7040af..0888b43ee50d2e99e05486e96f6237bee22488c6 100644 (file)
@@ -486,9 +486,10 @@ void SalomeApp_Application::onCloseDoc( bool ask )
     }
   }
 
-  LightApp_Application::onCloseDoc( ask );
   if(myNoteBook && myNoteBook->isVisible())
-     myNoteBook->hide();
+    myNoteBook->hide();
+
+  LightApp_Application::onCloseDoc( ask );
 }
 
 /*!Sets enable or disable some actions on selection changed.*/