idlefw/plugins/mcsplugin/settings/src/mcspluginsettingscontainer.cpp
branchRCL_3
changeset 122 6cadd6867c17
parent 118 8baec10861af
child 130 67f2ed48ad91
equal deleted inserted replaced
118:8baec10861af 122:6cadd6867c17
   184                 // if the last selected item was application, set selected item to -1
   184                 // if the last selected item was application, set selected item to -1
   185                 if ( itm.type == EApplication )
   185                 if ( itm.type == EApplication )
   186                     {
   186                     {
   187                         appListIndex = -1;
   187                         appListIndex = -1;
   188                     }
   188                     }
   189 
   189                 
       
   190                 // if the selected item is hidden, set selected item to -1
       
   191                 TBool itemHidden = iModel->BkmList()->ItemHidden( appListIndex );
       
   192                 if ( itemHidden )
       
   193                     {
       
   194                     appListIndex = -1;
       
   195                     }
       
   196                 
   190                 changed = HandleBookmarkChangeCommandL( appListIndex, current );
   197                 changed = HandleBookmarkChangeCommandL( appListIndex, current );
   191 
   198 
   192                 }
   199                 }
   193             // user wants to select application
   200             // user wants to select application
   194             else if ( selection == 0 )
   201             else if ( selection == 0 )