Salome HOME
Fix for bug IPAL9214 : 3.0.0(/dn06/../current1506): dataflow object has no "Rename...
authormkr <mkr@opencascade.com>
Thu, 22 Sep 2005 15:02:19 +0000 (15:02 +0000)
committermkr <mkr@opencascade.com>
Thu, 22 Sep 2005 15:02:19 +0000 (15:02 +0000)
src/SUPERVGUI/SUPERVGUI.cxx

index 63b774603c858abe66c03116f8b07b366d5b4534..756bb201741720ee7b39c1a6a1a5a4c576e5c7dd 100644 (file)
@@ -210,7 +210,7 @@ void SUPERVGUI::initialize( CAM_Application* app )
   mgr->setRule( action( 312 ), "$type in {'Dataflow'} and selcount=1", true );
   mgr->insert( separator(), -1, -1 ); // -----------
   mgr->insert( action(  313 ), -1, -1 ); // delete object
-  mgr->setRule( action( 313 ), "$client in {'ObjectBrowser'} and $type in {'Dataflow' 'SupervisorObject'} and selcount>0", true );
+  mgr->setRule( action( 313 ), "client='ObjectBrowser' and $type in {'Dataflow' 'SupervisorObject'} and selcount>0", true );
 }
 
 bool SUPERVGUI::activateModule( SUIT_Study* theStudy )