forked from enlightenment/efl
Elm: Entry: cnp: Actually use the calculated format.
And I read this patch twice before I sent it. So support images and text again in entry _paste. SVN revision: 56079
This commit is contained in:
parent
78418c0226
commit
c1a93b1841
|
@ -685,8 +685,7 @@ _paste(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
|
||||||
formats = ELM_SEL_FORMAT_MARKUP;
|
formats = ELM_SEL_FORMAT_MARKUP;
|
||||||
if (!wd->textonly)
|
if (!wd->textonly)
|
||||||
formats |= ELM_SEL_FORMAT_IMAGE;
|
formats |= ELM_SEL_FORMAT_IMAGE;
|
||||||
elm_selection_get(ELM_SEL_CLIPBOARD, ELM_SEL_FORMAT_MARKUP, data,
|
elm_selection_get(ELM_SEL_CLIPBOARD, formats, data, NULL, NULL);
|
||||||
NULL, NULL);
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue