bin/live_Edit: cancel live edit when esc is pressed

This commit is contained in:
ChunEon Park 2015-02-19 12:34:03 +09:00
parent bf122beaec
commit 37e425fa1b
1 changed files with 6 additions and 0 deletions

View File

@ -756,6 +756,12 @@ main_key_down_cb(void *data, int type EINA_UNUSED, void *ev)
enventor_object_focus_set(ad->enventor, EINA_TRUE);
return ECORE_CALLBACK_DONE;
}
if (live_edit_get())
{
live_edit_cancel();
enventor_object_focus_set(ad->enventor, EINA_TRUE);
return ECORE_CALLBACK_DONE;
}
if (file_mgr_warning_is_opened())
{
file_mgr_warning_close();