textinput/peninputhwrtrui/src/truishortcutscontainer.cpp
changeset 13 3b79bedfdc20
parent 0 eb1f2e154e89
equal deleted inserted replaced
0:eb1f2e154e89 13:3b79bedfdc20
   397                     }		   
   397                     }		   
   398 			    }		
   398 			    }		
   399 			case EKeyEnter:
   399 			case EKeyEnter:
   400 			case EKeyOK:
   400 			case EKeyOK:
   401 			    {
   401 			    {
   402                 if ( CurrentItemIndex() == 0 )
   402 			    
       
   403                 if ( iListBox != NULL && CurrentItemIndex() == 0 )
   403                     {
   404                     {
   404                     // Select "Create new shortcut" item
   405                     // Select "Create new shortcut" item
   405                     AddShortcutL();
   406                     AddShortcutL();
   406                     }
   407                     }
   407                 else
   408                 else