forked from enlightenment/enventor
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.
This commit is contained in:
parent
5d1cec3e7b
commit
cbb7caa834
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue