From 37e425fa1b33a0bd5dd88a00e2a4319316958aee Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Thu, 19 Feb 2015 12:34:03 +0900 Subject: [PATCH] bin/live_Edit: cancel live edit when esc is pressed --- src/bin/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/main.c b/src/bin/main.c index 29b4095..84cc8a4 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -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();