From e90d0b279903ef80245979acf85f12a306c1f336 Mon Sep 17 00:00:00 2001 From: Divya Darshini Date: Wed, 27 Mar 2013 10:36:20 +0530 Subject: [PATCH] solving issue: N_SE-26346 Change-Id: Ibdbb05d2ffe5d09968daf8a5a26e5e1329a8dde0 --- src/GlAllListEditorPanel.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/GlAllListEditorPanel.cpp b/src/GlAllListEditorPanel.cpp index 4f1a316..ed8dd3f 100644 --- a/src/GlAllListEditorPanel.cpp +++ b/src/GlAllListEditorPanel.cpp @@ -479,6 +479,17 @@ AllListEditorPanel::OnSceneActivatedN(const SceneId& previousSceneId, 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(pSeletedIndexList->GetAt(i))->ToInt(); + __pContentIconListView->SetItemChecked(index, true); + } + __pContentIconListView->RequestRedraw(true); + } } else if (previousSceneId == IDSCN_ALL_LIST) { @@ -494,7 +505,7 @@ AllListEditorPanel::OnSceneActivatedN(const SceneId& previousSceneId, 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(pArgs->GetAt(0)); if (pDirectory != null && pDirectory->GetLength() > 0) -- 2.7.4