uifw/AvKon/src/AknForm.cpp
branchRCL_3
changeset 10 9f56a4e1b8ab
parent 0 2f259fa3e83a
child 55 aecbbf00d063
--- a/uifw/AvKon/src/AknForm.cpp	Fri Mar 12 15:43:43 2010 +0200
+++ b/uifw/AvKon/src/AknForm.cpp	Mon Mar 15 12:41:34 2010 +0200
@@ -231,9 +231,18 @@
 			else
 				{
 				if ( mayExitEditMode )
-					SetEditableL(EFalse); // go out of edit mode of Form 
+                    {
+                    SetEditableL( EFalse ); // go out of edit mode of Form
+                    CEikCaptionedControl* line = Line( IdOfFocusControl() );
+                    if ( line )
+                        {
+                        line->SetEditableL( EFalse );
+                        line->SetCurrent( EFalse );
+                        line->DrawDeferred(); // otherwise will be partly redrawn
+                        }
+                    }
 				return EFalse; // remain in form ( but in view mode if save was OK).
-			}
+                }
 
 			} // end of if (IsEditable())