From 4b70954a89d42ca49fe26be06478dfccfb04cbd3 Mon Sep 17 00:00:00 2001 From: Seema Date: Fri, 5 Apr 2013 17:08:22 +0530 Subject: [PATCH] Fixed prevent issue Change-Id: I84ce7e196d79a36ab075446b0522f259a00b5f2b Signed-off-by: Seema --- src/MmDrawingEditorForm.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/MmDrawingEditorForm.cpp b/src/MmDrawingEditorForm.cpp index 217b405..d964830 100644 --- a/src/MmDrawingEditorForm.cpp +++ b/src/MmDrawingEditorForm.cpp @@ -874,6 +874,11 @@ MemoDrawingEditorForm::IsCommentEdited(void) void MemoDrawingEditorForm::SetSaveEnabled(bool isEnable) { + if(__pComment == null) + { + return; + } + String comment = __pComment->GetText(); comment.Trim(); -- 2.7.4