idlefw/plugins/mcsplugin/settings/src/mcspluginsettingscontainer.cpp
branchRCL_3
changeset 122 6cadd6867c17
parent 118 8baec10861af
child 130 67f2ed48ad91
--- a/idlefw/plugins/mcsplugin/settings/src/mcspluginsettingscontainer.cpp	Tue Sep 14 21:55:16 2010 +0300
+++ b/idlefw/plugins/mcsplugin/settings/src/mcspluginsettingscontainer.cpp	Wed Sep 15 12:32:36 2010 +0300
@@ -186,7 +186,14 @@
                     {
                         appListIndex = -1;
                     }
-
+                
+                // if the selected item is hidden, set selected item to -1
+                TBool itemHidden = iModel->BkmList()->ItemHidden( appListIndex );
+                if ( itemHidden )
+                    {
+                    appListIndex = -1;
+                    }
+                
                 changed = HandleBookmarkChangeCommandL( appListIndex, current );
 
                 }