From: Divya Darshini Date: Wed, 27 Mar 2013 05:06:20 +0000 (+0530) Subject: solving issue: N_SE-26346 X-Git-Tag: accepted/tizen_2.1/20130425.023637~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e90d0b279903ef80245979acf85f12a306c1f336;p=apps%2Fosp%2FGallery.git solving issue: N_SE-26346 Change-Id: Ibdbb05d2ffe5d09968daf8a5a26e5e1329a8dde0 --- 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)