m->parent->m_HandleGenlistItemActivated(m->eoPlaylist, itinfo->item);
}
}
- else
+ else {
_ERR(" Wrong ctxt add type in plaback view ");
+ ASSERT(0);
+ }
+
+ if (!m->mgr->PopView()) {
+ _ERR("CViewMgr::PopView failed");
+ return;
+ }
if (!m->mgr->PushView(MUSIC_PLAYBACK_VIEW, NULL)) {
- _ERR(" viewmgr show failed ");
+ _ERR("CViewMgr::PushView failed");
return;
}
+
elm_object_item_focus_set(m->focused_item, EINA_TRUE);
}
if (!m)
return;
- m->mgr->PopView();
- m->mgr->PushView(MUSIC_PLAYBACK_VIEW, NULL);
+ if (!m->mgr->PopView()) {
+ _ERR("CViewMgr::PopView failed");
+ return;
+ }
+
+ if (!m->mgr->PushView(MUSIC_PLAYBACK_VIEW, NULL)) {
+ _ERR("CViewMgr::PushView failed");
+ return;
+ }
+
elm_object_item_focus_set(m->focused_item, EINA_TRUE);
}