hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=37e425fa1b33a0bd5dd88a00e2a4319316958aee

commit 37e425fa1b33a0bd5dd88a00e2a4319316958aee
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Thu Feb 19 12:34:03 2015 +0900

    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();

-- 


Reply via email to