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>
This commit is contained in:
woochan lee 2015-11-23 08:00:45 +01:00 committed by Cedric BAIL
parent f0e3e97ff6
commit f21ebbcf04
1 changed files with 1 additions and 1 deletions

View File

@ -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