0021515: EDF 2169 SMESH: groups not in OB

This commit is contained in:
vsr 2012-03-23 14:42:48 +00:00
parent 3776dd7ec5
commit a16044eab3

View File

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