]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug IPAL9621 ( 3.0.0(current2807): Regression: SMESH ? Engine error during...
authormzn <mzn@opencascade.com>
Thu, 28 Jul 2005 14:50:46 +0000 (14:50 +0000)
committermzn <mzn@opencascade.com>
Thu, 28 Jul 2005 14:50:46 +0000 (14:50 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 04afcf817bb96d0741411c221cca89162d47bc39..f9b07317f59439ac1b0809adeff9be98f81c6a5c 100644 (file)
@@ -192,6 +192,7 @@ namespace{
     if(!filename.isEmpty()) {
       SUIT_OverrideCursor wc;
       _PTR(Study) aStudy = SMESH::GetActiveStudyDocument();
+      theComponentMesh->SetCurrentStudy( _CAST(Study,aStudy)->GetStudy() );
 
       try {
        SMESH::mesh_array_var aMeshes = new SMESH::mesh_array;