netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=e3befcf274bd26b053def1c041b197d9f658f993

commit e3befcf274bd26b053def1c041b197d9f658f993
Author: Alastair Poole <nets...@gmail.com>
Date:   Sat Jan 23 08:36:55 2021 +0000

    search: no need for that.
---
 src/bin/ui/ui_process_list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/ui_process_list.c b/src/bin/ui/ui_process_list.c
index 7e97436..f491e9d 100644
--- a/src/bin/ui/ui_process_list.c
+++ b/src/bin/ui/ui_process_list.c
@@ -1462,7 +1462,7 @@ _search_empty_cb(void *data)
 {
    Ui_Data *pd = data;
 
-   if (!strlen(elm_object_text_get(pd->search_entry)))
+   if (!pd->search_len)
      {
         evas_object_lower(pd->search_pop);
         elm_object_focus_allow_set(pd->search_entry, 0);

-- 


Reply via email to