Console: reset console content on open or create new file

fix T2980
This commit is contained in:
Mykyta Biliavskyi 2015-12-29 12:04:23 +09:00
parent a40b144128
commit 11ae10d04f
2 changed files with 2 additions and 0 deletions

View File

@ -519,6 +519,7 @@ fileselector_load_done_cb(void *data, Evas_Object *obj, void *event_info)
config_input_path_set(selected);
enventor_object_file_set(md->enventor, selected);
base_title_set(selected);
base_console_reset();
fileselector_close(md);
menu_close(md);
file_mgr_reset();

View File

@ -58,6 +58,7 @@ newfile_set(Evas_Object *enventor, Eina_Bool template_new)
}
enventor_object_file_set(enventor, path);
base_title_set(path);
base_console_reset();
file_mgr_reset();
}