jaehyun pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=5b00c94969e729e50f1ae6c0551a5d05cb436784

commit 5b00c94969e729e50f1ae6c0551a5d05cb436784
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Mon Feb 29 15:28:04 2016 +0900

    Revert "Show the save warning dialog on close unsaved file."
    
    This reverts commit a2e8ea302898143597976df968e294205b73b0d1.
    
    When a part is inserted by LiveEdit or modified by candidate popup, edc
    file is saved automatically.
    
    Conflicts:
        src/bin/file_mgr.c
---
 src/bin/file_mgr.c       | 1 -
 src/lib/enventor_smart.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/src/bin/file_mgr.c b/src/bin/file_mgr.c
index e6bd9b0..bd5f37e 100644
--- a/src/bin/file_mgr.c
+++ b/src/bin/file_mgr.c
@@ -149,7 +149,6 @@ file_mgr_edc_save(void)
 
    Eina_Bool save_success = enventor_object_save(base_enventor_get(),
                                                  config_input_path_get());
-   enventor_object_modified_set(base_enventor_get(), !save_success);
 
    if (!config_stats_bar_get()) return;
 
diff --git a/src/lib/enventor_smart.c b/src/lib/enventor_smart.c
index b30751d..759f97a 100644
--- a/src/lib/enventor_smart.c
+++ b/src/lib/enventor_smart.c
@@ -695,7 +695,6 @@ _enventor_object_save(Eo *obj EINA_UNUSED, 
Enventor_Object_Data *pd,
 
         build_edc();
         edit_saved_set(pd->ed, EINA_FALSE);
-        edit_changed_set(pd->ed, EINA_TRUE);
 
         modified.self_changed = EINA_TRUE;
         evas_object_smart_callback_call(pd->obj, SIG_EDC_MODIFIED, &modified);

-- 


Reply via email to