forked from enlightenment/efl
fileselector: fix typo + behavior
- _anchors_do() receive fileselector object as first parameter, in _on_text_unfocused cb fileselector passed as 'data' and not as 'obj'; - when entry is unfocused, it can contain usual text or anchor-styled text, so the only secure way to pass path is to pass sd->path.
This commit is contained in:
parent
b26418ae7d
commit
de24d2c5c0
|
@ -788,11 +788,12 @@ _on_text_activated(void *data,
|
|||
}
|
||||
|
||||
static void
|
||||
_on_text_unfocused(void *data __UNUSED__,
|
||||
Evas_Object *obj,
|
||||
_on_text_unfocused(void *data,
|
||||
Evas_Object *obj __UNUSED__,
|
||||
void *event_info __UNUSED__)
|
||||
{
|
||||
_anchors_do(obj, elm_object_text_get(obj));
|
||||
ELM_FILESELECTOR_DATA_GET(data, sd);
|
||||
_anchors_do(data, sd->path);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue