uifw/AvKon/src/AknForm.cpp
branchRCL_3
changeset 55 aecbbf00d063
parent 10 9f56a4e1b8ab
child 56 d48ab3b357f1
equal deleted inserted replaced
51:fcdfafb36fe7 55:aecbbf00d063
   229 					return EFalse; // stay in Form because save failed  
   229 					return EFalse; // stay in Form because save failed  
   230 				}
   230 				}
   231 			else
   231 			else
   232 				{
   232 				{
   233 				if ( mayExitEditMode )
   233 				if ( mayExitEditMode )
   234                     {
   234 					SetEditableL(EFalse); // go out of edit mode of Form 
   235                     SetEditableL( EFalse ); // go out of edit mode of Form
       
   236                     CEikCaptionedControl* line = Line( IdOfFocusControl() );
       
   237                     if ( line )
       
   238                         {
       
   239                         line->SetEditableL( EFalse );
       
   240                         line->SetCurrent( EFalse );
       
   241                         line->DrawDeferred(); // otherwise will be partly redrawn
       
   242                         }
       
   243                     }
       
   244 				return EFalse; // remain in form ( but in view mode if save was OK).
   235 				return EFalse; // remain in form ( but in view mode if save was OK).
   245                 }
   236 			}
   246 
   237 
   247 			} // end of if (IsEditable())
   238 			} // end of if (IsEditable())
   248 
   239 
   249 		return ETrue;
   240 		return ETrue;
   250 		}
   241 		}