Salome HOME
0022095: EDF 2358 GEOM: Add 'Create group' in the contextual menu of OCC viewer
authorjfa <jfa@opencascade.com>
Tue, 26 Mar 2013 09:37:44 +0000 (09:37 +0000)
committerjfa <jfa@opencascade.com>
Tue, 26 Mar 2013 09:37:44 +0000 (09:37 +0000)
src/GEOMGUI/GeometryGUI.cxx

index ddc668c97ac559d92666432b246267ddb9fbd6aa..e23e3f185da7dd4a7ada2bb23ad7c03401d832aa 100644 (file)
@@ -1255,7 +1255,7 @@ void GeometryGUI::initialize( CAM_Application* app )
   mgr->insert( action(  GEOMOp::OpDelete ), -1, -1 );  // delete
   mgr->setRule( action( GEOMOp::OpDelete ), QString("$type in {'Shape' 'Group'} and selcount>0"), QtxPopupMgr::VisibleRule );
   mgr->insert( action(  GEOMOp::OpGroupCreatePopup ), -1, -1 ); // create group
-  mgr->setRule( action( GEOMOp::OpGroupCreatePopup ), QString("client='ObjectBrowser' and type='Shape' and selcount=1 and isOCC=true"), QtxPopupMgr::VisibleRule );
+  mgr->setRule( action( GEOMOp::OpGroupCreatePopup ), QString("type='Shape' and selcount=1 and isOCC=true"), QtxPopupMgr::VisibleRule );
   mgr->insert( action(  GEOMOp::OpDiscloseChildren ), -1, -1 ); // disclose child items
   mgr->setRule( action( GEOMOp::OpDiscloseChildren ), QString("client='ObjectBrowser' and type='Shape' and selcount=1 and hasConcealedChildren=true"), QtxPopupMgr::VisibleRule );