From: dmv Date: Mon, 12 Oct 2009 08:20:14 +0000 (+0000) Subject: IPAL21406 Problem with closing second study X-Git-Tag: V5_1_3rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3898caf646157238cb3deba17f09452ae142be97;p=modules%2Fgui.git IPAL21406 Problem with closing second study --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index cad9a43cb..0888b43ee 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -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.*/