summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwoochan lee <wc0917.lee@samsung.com>2015-11-23 08:00:45 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-11-23 08:45:33 +0100
commitf48bbb1856590d8d12d34181fab34d9bbec970e1 (patch)
tree4b68813aebdf3e7abfa0d104f5dd4d223b494b6a
parentdf72227b7f4d927ae9d9007f158f14583e7a41f4 (diff)
downloadelementary-f48bbb1856590d8d12d34181fab34d9bbec970e1.tar.gz
datetime: fix field arrange code for dynamically field sequence change case.
Summary: This is for support dynamically field sequence changing case for example User sets datetime format as "%d/%b/%y" first. Then change the format dynamically in runtime to "%I:%M %p" Previous format datetime items still there. It breaks view(object dulicated on same geometry) @fix Test Plan: Run datetime sample. Add changed callback. Change format in changed callback function. Check the bug state. Reviewers: jaehwan, id213sin, Hermet, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3340 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/elm_datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_datetime.c b/src/lib/elm_datetime.c
index ccd14f325..9d1d2f4f2 100644
--- a/src/lib/elm_datetime.c
+++ b/src/lib/elm_datetime.c
@@ -231,7 +231,7 @@ _field_list_arrange(Evas_Object *obj)
if (field->visible && field->fmt_exist)
{
- elm_layout_content_unset(obj, buf);
+ evas_object_hide(elm_layout_content_unset(obj, buf));
elm_layout_content_set(obj, buf, field->item_obj);
}
else