uifw/AvKon/src/AknForm.cpp
branchRCL_3
changeset 6 9f56a4e1b8ab
parent 0 2f259fa3e83a
child 19 aecbbf00d063
equal deleted inserted replaced
5:aabf2c525e0f 6:9f56a4e1b8ab
   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 					SetEditableL(EFalse); // go out of edit mode of Form 
   234                     {
       
   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                     }
   235 				return EFalse; // remain in form ( but in view mode if save was OK).
   244 				return EFalse; // remain in form ( but in view mode if save was OK).
   236 			}
   245                 }
   237 
   246 
   238 			} // end of if (IsEditable())
   247 			} // end of if (IsEditable())
   239 
   248 
   240 		return ETrue;
   249 		return ETrue;
   241 		}
   250 		}