Fixed Jira issues 50249, 50683, 50387
[apps/osp/MusicPlayer.git] / src / MpContentEditPanel.cpp
index 6c53ad7..c329628 100644 (file)
@@ -335,13 +335,15 @@ ContentEditPanel::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collect
 \r
        if (pArgs != null)\r
        {\r
-               Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));\r
-\r
-               if (pIsInitialize->Equals(true))\r
+               if (requestId == ID_DESTORY_PLAY_LIST_PICKER_POPUP)\r
                {\r
-                       SetItemCheckedAll(false);\r
-               }\r
+                       Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));\r
 \r
+                       if (pIsInitialize->Equals(true))\r
+                       {\r
+                               SetItemCheckedAll(false);\r
+                       }\r
+               }\r
                pArgs->RemoveAll(true);\r
                delete pArgs;\r
        }\r