From a4e324b3017e1bb1912c24c06dbdb020c39c79db Mon Sep 17 00:00:00 2001 From: ptv Date: Wed, 12 Jul 2006 12:15:19 +0000 Subject: [PATCH] CTH12949, clear selection before emit signal that study closed --- src/LightApp/LightApp_Application.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 0ccc31bb4..72be00d5a 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -1435,11 +1435,12 @@ void LightApp_Application::onStudySaved( SUIT_Study* ) /*!Protected SLOT. On study closed.*/ void LightApp_Application::onStudyClosed( SUIT_Study* ) { - emit studyClosed(); - // Bug 10396: clear selection mySelMgr->clearSelected(); + // Bug 12944: emit signal only after clear selection + emit studyClosed(); + activateModule( "" ); saveWindowsGeometry(); -- 2.39.2