Fixed jira issue(45474)
authorJongTae <jongtae.oh@samsung.com>
Sat, 13 Jul 2013 08:41:00 +0000 (17:41 +0900)
committerJongTae <jongtae.oh@samsung.com>
Sat, 13 Jul 2013 08:41:42 +0000 (17:41 +0900)
Change-Id: Id9f8985f1244bd87f6274b94ad3adc783ab2fb9b

src/MmListForm.cpp

index 1b475ff..fe3504e 100644 (file)
@@ -699,7 +699,7 @@ MemoListForm::OnListViewItemStateChanged (ListView& listView, int index, int ele
                __pMemoDetails = new (std::nothrow) ArrayList();
                __pMemoDetails->Construct();
                __pMemoDetails->Add(pMemoData);
-               __pMemoDetails->Add(new (std::nothrow) Integer (index));
+               __pMemoDetails->Add(new (std::nothrow) Integer (pMemoData->GetMemoIndex() - 1));
                __pMemoDetails->Add(new (std::nothrow) Integer (MemoListPresentationModel::GetInstance()->GetMemoCount(ID_MEMO_LIST)));
 
                if (pMemoData->GetMemoDrawingPath().IsEmpty())