@Seth, is this patch on top of the previous patch or does it completely
replace the previous patch?
On 1/3/2018 3:02 PM, Seth Hillbrand wrote:
> Attached is a patch to fully address this error.
>
> The issue arose because we were trying to store the tree state including
> the currently selected part while renaming. The node was freed after
> renaming, so dereferencing the LIB_ID caused the segfault.
>
> The solution in this patch is to select the parent library if the
> selected part is being renamed. Then we re-select the newly renamed
> part. If the selected part is not being renamed, this patch should do
> nothing.
>
> ** Patch added: "0001-Library-Editor-Keep-cmptree-synchronized-while-updat.patch"
> https://bugs.launchpad.net/kicad/+bug/1740952/+attachment/5030641/+files/0001-Library-Editor-Keep-cmptree-synchronized-while-updat.patch
>
@Seth, is this patch on top of the previous patch or does it completely
replace the previous patch?
On 1/3/2018 3:02 PM, Seth Hillbrand wrote: Editor- Keep-cmptree- synchronized- while-updat. patch" /bugs.launchpad .net/kicad/ +bug/1740952/ +attachment/ 5030641/ +files/ 0001-Library- Editor- Keep-cmptree- synchronized- while-updat. patch
> Attached is a patch to fully address this error.
>
> The issue arose because we were trying to store the tree state including
> the currently selected part while renaming. The node was freed after
> renaming, so dereferencing the LIB_ID caused the segfault.
>
> The solution in this patch is to select the parent library if the
> selected part is being renamed. Then we re-select the newly renamed
> part. If the selected part is not being renamed, this patch should do
> nothing.
>
> ** Patch added: "0001-Library-
> https:/
>