← Back to team overview

kicad-developers team mailing list archive

[PATCH] Kicad: project manager: Do not reconstruct entire project tree when renaming file to different dir

 

Hi,

Renaming file to a different directory causes the entire project tree to be
recreated, which causes all subdirectories to collapse, unexpectedly to the
user.

This patch solves the problem by deleting the original node after moving
the file. Then the file watcher raises an event whose handler constructs a
new node in the new location.

This issue comes from the fix to this bug:
https://bugs.launchpad.net/kicad/+bug/1852431

Best Regards,
Mikołaj Wielgus

Attachment: 0001-Do-not-reconstruct-proj-tree-on-rename-to-diff-dir.patch
Description: Binary data


Follow ups