fep/aknfep/src/aknfepuispellcontainer.cpp
branchRCL_3
changeset 12 4eb1ae11334f
parent 10 6defe5d1bd39
child 14 e6a39382bb9c
equal deleted inserted replaced
10:6defe5d1bd39 12:4eb1ae11334f
    88 // (other items were commented in a header)
    88 // (other items were commented in a header)
    89 // ---------------------------------------------------------------------------
    89 // ---------------------------------------------------------------------------
    90 // 
    90 // 
    91 void CAknFepUiSpellContainer::SetInputWinFocus( TBool aFocus )
    91 void CAknFepUiSpellContainer::SetInputWinFocus( TBool aFocus )
    92 	{
    92 	{
    93 	iInputPane->SetFocus( aFocus );
    93 	if( iInputPane->IsFocused() != aFocus )
       
    94 		{
       
    95 	    iInputPane->SetFocus( aFocus );
       
    96 		}
    94 	// When release focus, remove from stack.
    97 	// When release focus, remove from stack.
    95 	if( aFocus )
    98 	if( aFocus )
    96 		{
    99 		{
    97 	    iEikonEnv->EikAppUi()->AddToStackL( this, ECoeStackPriorityDialog );
   100 	    iEikonEnv->EikAppUi()->AddToStackL( this, ECoeStackPriorityDialog );
    98 		}
   101 		}