equal
deleted
inserted
replaced
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 if( iInputPane->IsFocused() != aFocus ) |
93 if ( IsFocused() == aFocus ) |
94 { |
94 { |
95 iInputPane->SetFocus( aFocus ); |
95 return; |
96 } |
96 } |
|
97 |
97 // When release focus, remove from stack. |
98 // When release focus, remove from stack. |
98 if( aFocus ) |
99 if( aFocus ) |
99 { |
100 { |
100 iEikonEnv->EikAppUi()->AddToStackL( this, ECoeStackPriorityDialog ); |
101 iEikonEnv->EikAppUi()->AddToStackL( this, ECoeStackPriorityDialog ); |
101 } |
102 } |
102 else |
103 else |
103 { |
104 { |
|
105 SetFocus( EFalse ); |
104 iEikonEnv->EikAppUi()->RemoveFromStack( this ); |
106 iEikonEnv->EikAppUi()->RemoveFromStack( this ); |
105 } |
107 } |
106 } |
108 } |
107 // --------------------------------------------------------------------------- |
109 // --------------------------------------------------------------------------- |
108 // CAknFepUiSpellContainer::ConstructL |
110 // CAknFepUiSpellContainer::ConstructL |