filetree: Fix folders collapse after opening new file
Don't remove + insert, we loose state that way. Instead move rows and then recursively expand parents if needed.
While at it, rename remChild
to removeChild
.
Don't remove + insert, we loose state that way. Instead move rows and then recursively expand parents if needed.
While at it, rename remChild
to removeChild
.