From 95dcc30ffbc7f283ea6a75dbc6e1a1bf82230d72 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 16 Dec 2018 21:03:58 +0000 Subject: [PATCH] Load footprint browser with last-selected footprint. --- pcbnew/dialogs/dialog_exchange_footprints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_exchange_footprints.cpp b/pcbnew/dialogs/dialog_exchange_footprints.cpp index 7525c06726..caf002e0d4 100644 --- a/pcbnew/dialogs/dialog_exchange_footprints.cpp +++ b/pcbnew/dialogs/dialog_exchange_footprints.cpp @@ -462,7 +462,7 @@ void PCB_EDIT_FRAME::Exchange_Module( MODULE* aSrc, MODULE* aDest, BOARD_COMMIT& void DIALOG_EXCHANGE_FOOTPRINTS::ViewAndSelectFootprint( wxCommandEvent& event ) { - wxString newname; + wxString newname = m_newID->GetValue(); KIWAY_PLAYER* frame = Kiway().Player( FRAME_PCB_MODULE_VIEWER_MODAL, true );