bin/live_Edit: cancel live edit when esc is pressed
This commit is contained in:
parent
bf122beaec
commit
37e425fa1b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue