summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-12-22 08:19:35 (GMT)
committerJehun Lim <jehun.lim@samsung.com>2015-12-22 09:50:55 (GMT)
commitfc94dfd0f7ccfd1dd296dc04ee23b61350e5bfe9 (patch)
tree9cd6331e2dfba461a2b5a16ca0845be621b4ffff
parent62c9ac3ee050c932a02d76ac1158059040e8a37b (diff)
downloadair_mediahub-fc94dfd0f7ccfd1dd296dc04ee23b61350e5bfe9.zip
air_mediahub-fc94dfd0f7ccfd1dd296dc04ee23b61350e5bfe9.tar.gz
air_mediahub-fc94dfd0f7ccfd1dd296dc04ee23b61350e5bfe9.tar.bz2
listmgr: focus bug fixrefs/changes/80/55180/1
Change-Id: I8b79af93a8c6e10f0bc3bd0d06284ee89dad91a0 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
-rw-r--r--src/util/listmgr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/listmgr.c b/src/util/listmgr.c
index 74c411a..daa6d23 100644
--- a/src/util/listmgr.c
+++ b/src/util/listmgr.c
@@ -880,12 +880,12 @@ bool listmgr_update_play_info(struct listmgr *lmgr, app_media_info *info)
if (!info) {
if (lmgr->show_play_info) {
- if (lmgr->play_info == lmgr->focused)
- lmgr->focused = _get_box_first_item(lmgr->box);
-
elm_box_unpack(lmgr->box, lmgr->play_info);
evas_object_hide(lmgr->play_info);
lmgr->show_play_info = EINA_FALSE;
+
+ if (lmgr->play_info == lmgr->focused)
+ lmgr->focused = _get_box_first_item(lmgr->box);
}
return true;
}