Fix for 45027
authorsanthosh <santhosh.ic@samsung.com>
Fri, 19 Jul 2013 09:26:17 +0000 (14:56 +0530)
committersanthosh <santhosh.ic@samsung.com>
Fri, 19 Jul 2013 09:26:17 +0000 (14:56 +0530)
Change-Id: I46c3901b335867e4bbe888f12aa106a4bd0dc066
Signed-off-by: santhosh <santhosh.ic@samsung.com>
src/GlAlbumListForm.cpp
src/GlAlbumListPresentationModel.cpp

index 0fb993b..1e09917 100644 (file)
@@ -451,7 +451,6 @@ AlbumListForm::OnContentUpdated(void)
        {
                if (__pPresentationModel->GetAppControlMediaType() == APPCONTROL_MEDIA_TYPE_IMAGE)
                {
-                       __pPresentationModel->ClearThumbnailRequests(false);
                        __pPresentationModel->InitializeAlbumInfoList(CONTENT_TYPE_IMAGE);
                }
                else if (__pPresentationModel->GetAppControlMediaType() == APPCONTROL_MEDIA_TYPE_VIDEO)
index 39f2125..9100044 100644 (file)
@@ -796,6 +796,7 @@ AlbumListPresentationModel::InitializeAlbumInfoList(const ContentType& contentTy
                pContentDirectoryPathList->RemoveAll(true);
                delete pContentDirectoryPathList;
        }
+       ClearThumbnailRequests(false);
        AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
        return;