forked from enlightenment/efl
elm entry - respect plain text newlines on paste again...
make this work like it used to... fixes T8135
This commit is contained in:
parent
8066c82b65
commit
3716cfe1a2
|
@ -730,6 +730,16 @@ _selection_data_cb(void *data EINA_UNUSED,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!(sel_data->format & ELM_SEL_FORMAT_MARKUP))
|
||||||
|
{
|
||||||
|
char *txt = _elm_util_text_to_mkup(buf);
|
||||||
|
if (txt)
|
||||||
|
{
|
||||||
|
_edje_entry_user_insert(obj, txt);
|
||||||
|
free(txt);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
_edje_entry_user_insert(obj, buf);
|
_edje_entry_user_insert(obj, buf);
|
||||||
}
|
}
|
||||||
free(buf);
|
free(buf);
|
||||||
|
|
Loading…
Reference in New Issue