]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for PAL8920( After study restore, SMESH can't use a shape from GEOM without an...
authormzn <mzn@opencascade.com>
Fri, 16 Sep 2005 13:30:59 +0000 (13:30 +0000)
committermzn <mzn@opencascade.com>
Fri, 16 Sep 2005 13:30:59 +0000 (13:30 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 798cb8d19d817b019f769a3f30008fcc2308d32f..b0cd463212b73dddfc5966ae7b7a2388c8a66979 100644 (file)
@@ -1007,6 +1007,9 @@ bool SMESHGUI::ActiveStudyChanged(QAD_Desktop* parent)
     SMESH::UpdateSelectionProp();
   }
   MESSAGE("SMESHGUI::activeStudyChanged done.");
+
+  parent->loadComponentData("GEOM");
+
   return true;
 }
 
@@ -2329,6 +2332,9 @@ bool SMESHGUI::SetSettings(QAD_Desktop * parent)
   parent->menuBar()->setItemEnabled(111, false);       // IMPORT DAT
   //parent->menuBar()->setItemEnabled(112, false);     // IMPORT UNV
 
+  /* Load geom data*/
+  parent->loadComponentData("GEOM");
+
   return true;
 }