forked from enlightenment/enventor
bin/live_edit: fix logic wrong.
live edit should be canceled when ctxpopup is dismissed
This commit is contained in:
parent
2346693c0a
commit
2f451ba1b4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue