okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=f27a07f88920a29e62a946e92c0548a305946c2d

commit f27a07f88920a29e62a946e92c0548a305946c2d
Author: Stephen okra Houston <smhousto...@gmail.com>
Date:   Mon Apr 4 09:35:33 2016 -0500

    Ephoto: Keep search count data correctly.
---
 src/bin/ephoto_thumb_browser.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c
index 520105d..42ebf1a 100644
--- a/src/bin/ephoto_thumb_browser.c
+++ b/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);
 }

-- 


Reply via email to