Fix for PAL8920( After study restore, SMESH can't use a shape from GEOM without an explicit activation of GEOM ).

This commit is contained in:
mzn 2005-09-16 13:30:59 +00:00
parent 13fd8ba3f8
commit 4a0e350c11

View 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;
}