From 1540096924cc1a3b7c15744ed609a953ebfc8904 Mon Sep 17 00:00:00 2001 From: asl Date: Wed, 9 Nov 2005 14:21:30 +0000 Subject: [PATCH] Hide second "Erase all" in GEOM module --- src/GEOMGUI/GeometryGUI.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 ) ) ); } //======================================================================= -- 2.39.2