From: vsr Date: Fri, 23 Mar 2012 14:42:48 +0000 (+0000) Subject: 0021515: EDF 2169 SMESH: groups not in OB X-Git-Tag: V6_5_0a1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a16044eab34b132508d7baf95c3272f20178167e;p=modules%2Fsmesh.git 0021515: EDF 2169 SMESH: groups not in OB --- diff --git a/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx index cbb839c22..783b6ccf0 100644 --- a/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx @@ -353,10 +353,10 @@ bool SMESHGUI_GroupOnShapeOp::onApply() anEntryList.append( aSObject->GetID().c_str() ); } } - SMESHGUI::Modified(); - update( UF_ObjBrowser | UF_Model ); + SMESHGUI::Modified(); + // Re-init controls to create the next group myElemGeoIDs.clear(); myNodeGeoIDs.clear(); @@ -367,6 +367,8 @@ bool SMESHGUI_GroupOnShapeOp::onApply() myDlg->myNodeGeomBtn->setChecked(false); myDlg->updateButtons(); + update( UF_ObjBrowser | UF_Model ); + if( LightApp_Application* anApp = dynamic_cast( SUIT_Session::session()->activeApplication() ) ) anApp->browseObjects( anEntryList, isApplyAndClose() );