From b3b829bcb84a82ade88a6e8d0919b25ada80f980 Mon Sep 17 00:00:00 2001 From: Himanshu Date: Wed, 26 Jun 2013 14:49:01 +0530 Subject: [PATCH] Fixed issue 43245 Change-Id: Ic25503820bc1b354c7a5d39fa2cd22445694dde2 Signed-off-by: Himanshu --- src/GlFileListEditorForm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()); -- 2.7.4