search: faster...ugh
This commit is contained in:
parent
2988881b62
commit
a4e8373c9c
|
@ -1168,11 +1168,9 @@ _evisum_process_filter(Ui_Data *pd, const char *text)
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_search_empty(void *data)
|
_search_empty(void *data)
|
||||||
{
|
{
|
||||||
const char *markup;
|
|
||||||
Ui_Data *pd = data;
|
Ui_Data *pd = data;
|
||||||
|
|
||||||
markup = elm_object_part_text_get(pd->entry, NULL);
|
if (pd->search_text && !pd->search_text[0])
|
||||||
if (strlen(markup) == 0)
|
|
||||||
{
|
{
|
||||||
evas_object_lower(pd->entry_pop);
|
evas_object_lower(pd->entry_pop);
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue