From 49a72be2b10ee91bfe800652e686d1414caf20b2 Mon Sep 17 00:00:00 2001 From: ptv Date: Tue, 15 Nov 2005 07:56:58 +0000 Subject: [PATCH] clear selection before module deactivation --- src/LightApp/LightApp_Application.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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(); } -- 2.39.2