Force a clear of treeview on switch project

This commit is contained in:
Francesco Abbate 2020-12-08 23:35:49 +01:00
parent 8448eee79f
commit ba898b50fc
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ function core.open_folder_project(dirname)
core.root_view:close_all_docviews()
add_project_to_recents(dirname)
save_projects()
core.project_files = {}
core.redraw = true
core.switch_project = dirname
end