Fixed issue 47720
authorHimanshu <himanshu.t@samsung.com>
Wed, 31 Jul 2013 07:05:04 +0000 (12:35 +0530)
committerHimanshu <himanshu.t@samsung.com>
Wed, 31 Jul 2013 07:05:04 +0000 (12:35 +0530)
Change-Id: I9c29ea39d6d6a2e2d477f50ffb8dee32b1b2c43f
Signed-off-by: Himanshu <himanshu.t@samsung.com>
src/GlAlbumNameEditorForm.cpp

index 3ce1d2f..0a2716d 100644 (file)
@@ -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;