hermet pushed a commit to branch master.

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

commit cbb7caa8341b1a80715f1e291c4bd254e0094013
Author: Hermet Park <her...@hermet.pe.kr>
Date:   Fri Jul 22 13:26:51 2016 +0900

    file_mgr: reset contexts when file focus is moved on.
    
    We need to reset goto, search, live edit even edc navigator context
    if the selected file is switched to other.
---
 src/bin/file_mgr.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/file_mgr.c b/src/bin/file_mgr.c
index 5e5019a..51acd41 100644
--- a/src/bin/file_mgr.c
+++ b/src/bin/file_mgr.c
@@ -268,10 +268,11 @@ file_mgr_file_focus(Enventor_Item *it)
    file_tab_it_select(it);
    enventor_item_represent(it);
    base_title_set(enventor_item_file_get(it));
+   base_edc_navigator_group_update();
 
-   //Reset context if the find/replace is working on.
+   //Reset file based contexts.
    search_reset();
-   //Cancel if the live edit mode is turned on.
+   goto_close();
    live_edit_cancel(EINA_FALSE);
 }
 

-- 


Reply via email to