From: Himanshu Date: Wed, 26 Jun 2013 09:19:01 +0000 (+0530) Subject: Fixed issue 43245 X-Git-Tag: submit/tizen_2.2/20130714.134410~33 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=b3b829bcb84a82ade88a6e8d0919b25ada80f980 Fixed issue 43245 Change-Id: Ic25503820bc1b354c7a5d39fa2cd22445694dde2 Signed-off-by: Himanshu --- diff --git a/src/GlFileListEditorForm.cpp b/src/GlFileListEditorForm.cpp index fd8cd3e..114a25f 100644 --- a/src/GlFileListEditorForm.cpp +++ b/src/GlFileListEditorForm.cpp @@ -719,7 +719,7 @@ FileListEditorForm::OnActionPerformed(const Control& source, int actionId) } else if (pSceneManager->GetCurrentSceneId() == IDSCN_ALL_LIST_SELECTION) { - if ((IDA_CONTEXTMENU_SELECTION_MOVE_ALBUM_ARRAY_START <= actionId) && + if ((IDA_CONTEXTMENU_EDITOR_MOVE_ALBUM_ARRAY_START <= actionId) && (actionId <= IDA_CONTEXTMENU_EDITOR_MOVE_CREATE_ALBUM + 1000)) { if (__pContentDirectoryList == null) @@ -727,10 +727,10 @@ FileListEditorForm::OnActionPerformed(const Control& source, int actionId) return; } - if (__pContentDirectoryList->GetCount() > actionId - IDA_CONTEXTMENU_SELECTION_MOVE_ALBUM_ARRAY_START) + if (__pContentDirectoryList->GetCount() > actionId - IDA_CONTEXTMENU_EDITOR_MOVE_ALBUM_ARRAY_START) { String* pDirectory = static_cast - (__pContentDirectoryList->GetAt(actionId - IDA_CONTEXTMENU_SELECTION_MOVE_ALBUM_ARRAY_START)); + (__pContentDirectoryList->GetAt(actionId - IDA_CONTEXTMENU_EDITOR_MOVE_ALBUM_ARRAY_START)); AllListSelectionPanel* pSelectionPanel = dynamic_cast (pSceneManager->GetCurrentScene()->GetPanel());