bin/live_edit: fix logic wrong.

live edit should be canceled when ctxpopup is dismissed
This commit is contained in:
ChunEon Park 2015-02-20 20:53:48 +09:00
parent 2346693c0a
commit 2f451ba1b4
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ ctxpopup_dismissed_cb(void *data, Evas_Object *obj,
void *event_info EINA_UNUSED)
{
live_data *ld = data;
if (!ld->layout) live_edit_toggle();
if (!ld->layout) live_edit_cancel();
evas_object_del(obj);
ld->ctxpopup = NULL;
}