phonesettings/pslncallimageplugin/src/PslnCallImagePlugin.cpp
changeset 1 838b0a10d15b
parent 0 5f000ab63145
child 9 8871b09be73b
--- a/phonesettings/pslncallimageplugin/src/PslnCallImagePlugin.cpp	Mon Jan 18 20:18:27 2010 +0200
+++ b/phonesettings/pslncallimageplugin/src/PslnCallImagePlugin.cpp	Tue Jan 26 11:57:27 2010 +0200
@@ -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 );
         	}