Fixed issue 43245
[apps/osp/Gallery.git] / src / GlFileListEditorForm.cpp
index fd8cd3e..114a25f 100644 (file)
@@ -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<String*>
-                                       (__pContentDirectoryList->GetAt(actionId - IDA_CONTEXTMENU_SELECTION_MOVE_ALBUM_ARRAY_START));
+                                       (__pContentDirectoryList->GetAt(actionId - IDA_CONTEXTMENU_EDITOR_MOVE_ALBUM_ARRAY_START));
 
                                        AllListSelectionPanel* pSelectionPanel = dynamic_cast<AllListSelectionPanel*>
                                                (pSceneManager->GetCurrentScene()->GetPanel());