phonesettings/pslncallimageplugin/src/PslnCallImagePlugin.cpp
changeset 3 74c6260f9112
parent 1 838b0a10d15b
child 9 8871b09be73b
--- a/phonesettings/pslncallimageplugin/src/PslnCallImagePlugin.cpp	Mon Jan 25 15:04:17 2010 +0000
+++ b/phonesettings/pslncallimageplugin/src/PslnCallImagePlugin.cpp	Fri Jan 29 17:12:32 2010 +0000
@@ -336,13 +336,10 @@
     	{
     	TInt active = static_cast<CPslnCallImagePluginContainer*>
                     (iContainer)->CurrentSelectionIndexL();
-        // Set menu item as Apply, if:
-        // a) 'None' is selected
-        // b) highlight is on inactive selection
-    	if ( active != iContainer->iListBox->CurrentItemIndex() && 
-    	    ( active == EPlsnCallImageNone || 
-    	      active ==  EPlsnCallImageThemeImage ) )
-        	{
+        // Set menu item is used when inactive item is focused and it 
+		// activates the focused item.
+    	if ( active != iContainer->iListBox->CurrentItemIndex() )
+    		{
         	aMenuPane->SetItemDimmed( EPslnCmdAppActivate, EFalse );
         	aMenuPane->SetItemDimmed( EPslnCmdAppDownload, ETrue );
         	}