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 04afcf8..f9b0731 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;