From: ptv Date: Tue, 15 Nov 2005 07:56:58 +0000 (+0000) Subject: clear selection before module deactivation X-Git-Tag: V3_1_0a3~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=49a72be2b10ee91bfe800652e686d1414caf20b2;p=modules%2Fgui.git clear selection before module deactivation --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 0ba2a8bac..d716f89ea 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -1150,13 +1150,11 @@ void LightApp_Application::onStudyClosed( SUIT_Study* ) { emit studyClosed(); - activateModule( "" ); - - // Bug 10396: remove all selectors - //delete mySelMgr; - //mySelMgr = new LightApp_SelectionMgr( this ); + // Bug 10396: clear selection mySelMgr->clearSelected(); + activateModule( "" ); + saveWindowsGeometry(); }