From afea6c523bbd4d0030981e88dc4fe377effd761b Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 2 Mar 2006 13:26:55 +0000 Subject: [PATCH] * correct unregisterAction() method --- src/CAM/CAM_Module.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CAM/CAM_Module.cxx b/src/CAM/CAM_Module.cxx index 0caabbe7f..264054bdf 100755 --- a/src/CAM/CAM_Module.cxx +++ b/src/CAM/CAM_Module.cxx @@ -593,12 +593,12 @@ bool CAM_Module::unregisterAction( QAction* a ) return false; if ( menuMgr() ) { int id = menuMgr()->actionId( a ); - if ( id != -1 && menuMgr()->contains( id, -1 ) ) + if ( id != -1 && menuMgr()->containsMenu( id, -1 ) ) return false; } if ( toolMgr() ) { int id = toolMgr()->actionId( a ); - if ( id != -1 && toolMgr()->contains( id ) ) + if ( id != -1 && toolMgr()->containsAction( id ) ) return false; } if ( menuMgr() ) -- 2.39.2