Updated treeview to match convention.
This commit is contained in:
parent
91797d65d1
commit
8345a04d04
|
@ -454,7 +454,7 @@ function TreeView:toggle_expand(toggle)
|
||||||
end
|
end
|
||||||
local hovered_dir = core.project_dir_by_name(item.dir_name)
|
local hovered_dir = core.project_dir_by_name(item.dir_name)
|
||||||
if hovered_dir and hovered_dir.files_limit then
|
if hovered_dir and hovered_dir.files_limit then
|
||||||
core.update_project_subdir(hovered_dir, item.filename, item.expanded)
|
core.update_project_subdir(hovered_dir, item.depth == 0 and "" or item.filename, item.expanded)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue