From: Himanshu Date: Wed, 31 Jul 2013 07:05:04 +0000 (+0530) Subject: Fixed issue 47720 X-Git-Tag: 2.2_release~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5f20e48a54931af8d943430faf3208830e4d3e8;hp=9d62b34cfe6763671e10fd1d609dd7e113038eb6;p=apps%2Fosp%2FGallery.git Fixed issue 47720 Change-Id: I9c29ea39d6d6a2e2d477f50ffb8dee32b1b2c43f Signed-off-by: Himanshu --- diff --git a/src/GlAlbumNameEditorForm.cpp b/src/GlAlbumNameEditorForm.cpp index 3ce1d2f..0a2716d 100644 --- a/src/GlAlbumNameEditorForm.cpp +++ b/src/GlAlbumNameEditorForm.cpp @@ -207,6 +207,15 @@ AlbumNameEditorForm::OnTextValueChanged(const Control& source) CreateMessage(msg); currentInput.Replace("/", ""); __pNameEditField->SetText(currentInput); + + if (currentInput == L"") + { + if (GetFooter() != null) + { + GetFooter()->SetItemEnabled(0, false); + GetFooter()->Invalidate(true); + } + } } inputLength = byteCount;