pkiutilities/SecModUI/src/SecModUIViewAccess.cpp
branchRCL_3
changeset 21 09b1ac925e3f
parent 5 3b17fc5c9564
child 22 03674e5abf46
--- a/pkiutilities/SecModUI/src/SecModUIViewAccess.cpp	Thu Aug 19 10:45:23 2010 +0300
+++ b/pkiutilities/SecModUI/src/SecModUIViewAccess.cpp	Tue Aug 31 16:04:40 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -349,9 +349,9 @@
     {
     if( R_SECMODUI_VIEW_ACCESS_MENU == aResourceId )
         {        
-        if( !FeatureManager::FeatureSupported( KFeatureIdHelp ) )
+        if( aResourceId == !FeatureManager::FeatureSupported( KFeatureIdHelp ) )
             {
-            aMenuPane->DeleteMenuItem( EAknCmdHelp );
+            aMenuPane->DeleteMenuItem( EAknCmdHelp ); //remove help
             }     
 
         TInt currentItem = iContainer->ListBox().CurrentItemIndex();