Change-Id: I6c0a7eb6d83de8818ab38a41e1574d655e242f89
if (_pIconListView != null)
{
- _pIconListView->RemoveGestureDetector(*_pLongPressGestureDetector);
+ _pIconListView->RemoveGestureDetector(_pLongPressGestureDetector);
}
}
}
else
{
+ if (!pFileDetails->GetFileExtension().IsEmpty())
+ {
+ filename = filename + "." + pFileDetails->GetFileExtension();
+ }
+
if (pFileDetails->GetBitmap() == null)
{
if (pCacheList != null && (contentType == CONTENT_TYPE_IMAGE || contentType == CONTENT_TYPE_VIDEO))
if (_pIconListView != null)
{
- _pIconListView->RemoveGestureDetector(*_pLongPressGestureDetector);
+ _pIconListView->RemoveGestureDetector(_pLongPressGestureDetector);
}
TryReturn(_pFolderEntryPM!=null, , "FolderEntryPresentationModel is NULL") ;
if (_pIconListView != null)
{
- _pIconListView->RemoveGestureDetector(*_pLongPressGestureDetector);
+ _pIconListView->RemoveGestureDetector(_pLongPressGestureDetector);
}
((MyFilesApp*) Application::GetInstance())->SetCurrentView(null);