From: asl Date: Wed, 9 Nov 2005 14:21:30 +0000 (+0000) Subject: Hide second "Erase all" in GEOM module X-Git-Tag: V3_1_0a3~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1540096924cc1a3b7c15744ed609a953ebfc8904;p=modules%2Fgeom.git Hide second "Erase all" in GEOM module --- diff --git a/src/GEOMGUI/GeometryGUI.cxx b/src/GEOMGUI/GeometryGUI.cxx index 882b38a0e..59dba91a2 100644 --- a/src/GEOMGUI/GeometryGUI.cxx +++ b/src/GEOMGUI/GeometryGUI.cxx @@ -1077,6 +1077,8 @@ void GeometryGUI::initialize( CAM_Application* app ) mgr->insert( action( 213 ), -1, -1 ); // display only mgr->setRule( action( 213 ), "$component={'GEOM'} and (($type in {'Shape' 'Group'} and selcount>0) or (type='Component' and selcount=1))", true ); mgr->insert( separator(), -1, -1 ); + + mgr->hide( mgr->actionId( action( myEraseAll ) ) ); } //=======================================================================