express: Make sure we actually have text to send from the entry before trying to send to channel
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
e849212f34
commit
4f79bcfa79
|
@ -246,6 +246,8 @@ _cb_entry_go(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
|
|||
|
||||
if ((txt = (char *)elm_entry_entry_get(chl->o_entry)))
|
||||
{
|
||||
if (strlen(txt) < 1) return;
|
||||
|
||||
if ((txt = elm_entry_markup_to_utf8(txt)))
|
||||
{
|
||||
char buff[PATH_MAX];
|
||||
|
@ -724,6 +726,9 @@ _channel_update(Channel *chl)
|
|||
|
||||
/* update grid config */
|
||||
_grid_update(chl->o_grid);
|
||||
|
||||
edje_object_part_swallow(chl->o_base, "channel.content", chl->o_grid);
|
||||
edje_object_part_swallow(chl->o_bg, "background.content", chl->o_base);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue