Ephoto: Keep search count data correctly.

This commit is contained in:
Stephen okra Houston 2016-04-04 09:35:33 -05:00
parent 1aafc222ef
commit f27a07f889
1 changed files with 2 additions and 2 deletions

View File

@ -858,8 +858,6 @@ _ephoto_search_go(void *data, Evas_Object *obj EINA_UNUSED,
tb->searchentries = NULL;
if (results)
{
tb->totimages_old = tb->totimages;
tb->totsize_old = tb->totsize;
tb->totimages = 0;
tb->totsize = 0;
EINA_LIST_FOREACH(results, l, o)
@ -1078,6 +1076,8 @@ _search(void *data, Evas_Object *obj EINA_UNUSED,
evas_object_show(search);
tb->search = search;
tb->totimages_old = tb->totimages;
tb->totsize_old = tb->totsize;
elm_object_focus_set(search, EINA_TRUE);
}