Prevent issue fix
authorchitta ranjan <chitta.rs@samsung.com>
Tue, 14 May 2013 06:29:17 +0000 (15:29 +0900)
committerchitta ranjan <chitta.rs@samsung.com>
Tue, 14 May 2013 06:29:17 +0000 (15:29 +0900)
Change-Id: I133f3133ee4b663310019ba818394a8ac0294f3b
Signed-off-by: chitta ranjan <chitta.rs@samsung.com>
src/GlAllListEditorPanel.cpp

index a9946b2..a5155bc 100644 (file)
@@ -450,12 +450,15 @@ AllListEditorPanel::OnSceneActivatedN(const SceneId& previousSceneId,
                        {
                                IList* pSeletedIndexList = pArgs;
                                int loopCount = pSeletedIndexList->GetCount();
-                               for (int i = 0; i < loopCount; ++i)
+                               if (__pContentIconListView != null)
                                {
-                                       int index = static_cast<Integer*>(pSeletedIndexList->GetAt(i))->ToInt();
-                                       __pContentIconListView->SetItemChecked(index, true);
+                                       for (int i = 0; i < loopCount; ++i)
+                                       {
+                                               int index = static_cast<Integer*>(pSeletedIndexList->GetAt(i))->ToInt();
+                                               __pContentIconListView->SetItemChecked(index, true);
+                                       }
+                                       __pContentIconListView->RequestRedraw(true);
                                }
-                               __pContentIconListView->RequestRedraw(true);
                        }
                }