0021034: EDF 1604 SMESH: Reinitialisation of the "mesh" field in create group from geometry

This commit is contained in:
dmv 2010-10-18 08:06:00 +00:00
parent aa7227a916
commit 7aefb1695e

View File

@ -352,7 +352,15 @@ bool SMESHGUI_GroupOnShapeOp::onApply()
update( UF_ObjBrowser | UF_Model );
init();
// Re-init controls to create the next group
myElemGeoIDs.clear();
myNodeGeoIDs.clear();
removeCustomFilters();
myDlg->myNodeGeomList->clear();
myDlg->myElemGeomList->clear();
myDlg->myElemGeomBtn->setChecked(false);
myDlg->myNodeGeomBtn->setChecked(false);
myDlg->updateButtons();
return !group->_is_nil();
}