Ephoto: Keep search count data correctly.

master
Stephen okra Houston 7 years ago
parent 1aafc222ef
commit f27a07f889
  1. 4
      src/bin/ephoto_thumb_browser.c

@ -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);
}

Loading…
Cancel
Save