From: Himanshu Talwar Date: Tue, 21 May 2013 14:01:53 +0000 (+0530) Subject: Fixed issue 39005 X-Git-Tag: submit/tizen_2.2/20130714.134410~77 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=37b50c2f209dcdf9894db0d8f3cd96d14bf3784a Fixed issue 39005 Change-Id: I962c1132790808461f5d22c55edb97ee7a760d23 Signed-off-by: Himanshu Talwar --- diff --git a/src/GlAlbumListForm.cpp b/src/GlAlbumListForm.cpp index a3e8757..231256d 100644 --- a/src/GlAlbumListForm.cpp +++ b/src/GlAlbumListForm.cpp @@ -506,6 +506,7 @@ AlbumListForm::OnContentUpdated(void) __itemCount = __pPresentationModel->GetFolderCount(); __pAlbumViewIconList->UpdateList(); + if (__itemCount == 0 ) { GetFooter()->SetButtonEnabled(BUTTON_POSITION_LEFT, false); @@ -514,6 +515,8 @@ AlbumListForm::OnContentUpdated(void) { GetFooter()->SetButtonEnabled(BUTTON_POSITION_LEFT, true); } + + GetFooter()->Invalidate(true); AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult())); }