if (previousSceneId == IDSCN_ALL_LIST_SELECTION)
{
ResetSelection();
+ if (pArgs != null && pArgs->GetCount() > 0)
+ {
+ IList* pSeletedIndexList = pArgs;
+ int loopCount = pSeletedIndexList->GetCount();
+ for (int i = 0; i < loopCount; ++i)
+ {
+ int index = static_cast<Integer*>(pSeletedIndexList->GetAt(i))->ToInt();
+ __pContentIconListView->SetItemChecked(index, true);
+ }
+ __pContentIconListView->RequestRedraw(true);
+ }
}
else if (previousSceneId == IDSCN_ALL_LIST)
{
pFileListEditorForm->SetTitleText(ResourceManager::GetString(L"IDS_COM_BODY_EDIT"));
- if (pArgs != null && pArgs->GetCount() > 0)
+ if (pArgs != null && pArgs->GetCount() > 0 && previousSceneId != IDSCN_ALL_LIST_SELECTION)
{
String* pDirectory = static_cast<String*>(pArgs->GetAt(0));
if (pDirectory != null && pDirectory->GetLength() > 0)