]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
PAL10468 - crash during connect to unload study
authorasl <asl@opencascade.com>
Thu, 10 Nov 2005 10:36:16 +0000 (10:36 +0000)
committerasl <asl@opencascade.com>
Thu, 10 Nov 2005 10:36:16 +0000 (10:36 +0000)
src/LightApp/LightApp_Application.cxx

index 3fc89457e44f16256717d3111ac913bc1753835e..87e483ecf2811d0fdfc3cf086fecc637bf784ee1 100644 (file)
@@ -1153,8 +1153,9 @@ void LightApp_Application::onStudyClosed( SUIT_Study* )
   activateModule( "" );
 
   // Bug 10396: remove all selectors
-  delete mySelMgr;
-  mySelMgr = new LightApp_SelectionMgr( this );
+  //delete mySelMgr;
+  //mySelMgr = new LightApp_SelectionMgr( this );
+  mySelMgr->clearSelected();
 
   saveWindowsGeometry();
 }