0020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement

(Fix problem with Object browser updating)
- Revert fix made for issue "0021515: EDF 2169 SMESH: groups not in OB" - it is no more required since actual problem is solved by fix for issue 0020749.
This commit is contained in:
vsr 2012-08-30 13:57:33 +00:00
parent eeed6dd569
commit 5aee18a1d4

View File

@ -353,10 +353,10 @@ bool SMESHGUI_GroupOnShapeOp::onApply()
anEntryList.append( aSObject->GetID().c_str() );
}
}
update( UF_ObjBrowser | UF_Model );
SMESHGUI::Modified();
update( UF_ObjBrowser | UF_Model );
// Re-init controls to create the next group
myElemGeoIDs.clear();
myNodeGeoIDs.clear();
@ -367,8 +367,6 @@ bool SMESHGUI_GroupOnShapeOp::onApply()
myDlg->myNodeGeomBtn->setChecked(false);
myDlg->updateButtons();
update( UF_ObjBrowser | UF_Model );
if( LightApp_Application* anApp =
dynamic_cast<LightApp_Application*>( SUIT_Session::session()->activeApplication() ) )
anApp->browseObjects( anEntryList, isApplyAndClose() );