]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
clear selection before module deactivation
authorptv <ptv@opencascade.com>
Tue, 15 Nov 2005 07:56:58 +0000 (07:56 +0000)
committerptv <ptv@opencascade.com>
Tue, 15 Nov 2005 07:56:58 +0000 (07:56 +0000)
src/LightApp/LightApp_Application.cxx

index 0ba2a8bac43428ab6b85784b799f3da49283b2c3..d716f89ea11ce4004e56fbfd2a32a1fb43240d9f 100644 (file)
@@ -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();
 }