← Back to team overview

kicad-developers team mailing list archive

[Patch] Update PCB from Schematic hotkey in pcbnew and bug in schematic filename

 

Hi all, here are two patches to address some minor issues with the "Update PCB from Schematic” tool when called from pcbnew. The first adds the F8 hotkey to match eeschema. The second fixes a bug that happens if the project name contains a period (e.g.: MyProject_rev1.2). In this case, the wxFileName command SetExt() would detect an existing extension as “2” and replace it with “sch”. Thus using the tool from pcbnew would make it look for (and hopefully not find!) MyProject_rev1.sch. The bug wouldn’t happen if the schematic window was already open, so it was pretty rare.
thanks!
Dan

Attachment: 0001-Added-pcbnew-hotkey-for-Update-PCB-from-Schematic.patch
Description: Binary data

Attachment: 0002-Fixed-OnUpdatePCBFromSch-correctly-determines-schema.patch
Description: Binary data


Follow ups

References