Fix partial expansion of grouped nodes
This commit is contained in:
parent
4ab16dd3a7
commit
3dac0be704
@ -52,7 +52,15 @@ local function should_expand(expansion_count, node, should_descend)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
return not dir.open and should_descend(expansion_count, node)
|
if not dir.open and should_descend(expansion_count, node) then
|
||||||
|
core.get_explorer():expand(node)
|
||||||
|
if node.group_next then
|
||||||
|
return should_expand(expansion_count, node.group_next, should_descend)
|
||||||
|
else
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user