Fixed issue 43245
authorHimanshu <himanshu.t@samsung.com>
Wed, 26 Jun 2013 09:19:01 +0000 (14:49 +0530)
committerHimanshu <himanshu.t@samsung.com>
Wed, 26 Jun 2013 09:19:01 +0000 (14:49 +0530)
Change-Id: Ic25503820bc1b354c7a5d39fa2cd22445694dde2
Signed-off-by: Himanshu <himanshu.t@samsung.com>
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());