photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp
branchRCL_3
changeset 13 bcb43dc84c44
parent 12 ce1c7ad1f18b
child 15 191387a8b767
--- a/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp	Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp	Wed Mar 31 21:31:03 2010 +0300
@@ -177,12 +177,6 @@
         	    if ( IsSupported( item.iCommandId ) )
         	        {
         	        TBool isDisabled = IsDisabledL(item.iCommandId, MediaList());
-        	        
-        	        if( !isDisabled && 
-        	            iCurrentViewingState == TCommandInfo::EViewingStateView )
-        	            {
-                        //isDisabled = sf.IsActivePaletteItemVisible( item.iCommandId );
-        	            }
         	        // Check visibility of the menu item
     				aMenuPane->SetItemDimmed( item.iCommandId, isDisabled);