From b1e8241ebedca6dd3edf57773fbeed462e8b92f0 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 8 Nov 2021 20:14:56 +0000 Subject: [PATCH] Update pin type as well as function from existing when updating fp. --- pcbnew/dialogs/dialog_exchange_footprints.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/dialogs/dialog_exchange_footprints.cpp b/pcbnew/dialogs/dialog_exchange_footprints.cpp index 895822ec54..0bf42eb447 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints.cpp +++ b/pcbnew/dialogs/dialog_exchange_footprints.cpp @@ -545,6 +545,7 @@ void PCB_EDIT_FRAME::ExchangeFootprint( FOOTPRINT* aExisting, FOOTPRINT* aNew, { pad->SetLocalRatsnestVisible( pad_model->GetLocalRatsnestVisible() ); pad->SetPinFunction( pad_model->GetPinFunction() ); + pad->SetPinType( pad_model->GetPinType() ); } pad->SetNetCode( pad_model ? pad_model->GetNetCode() : NETINFO_LIST::UNCONNECTED );