uifw/AvKon/src/AknForm.cpp
branchRCL_3
changeset 56 d48ab3b357f1
parent 55 aecbbf00d063
--- a/uifw/AvKon/src/AknForm.cpp	Tue Aug 31 15:28:30 2010 +0300
+++ b/uifw/AvKon/src/AknForm.cpp	Wed Sep 01 12:16:19 2010 +0100
@@ -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())