From 029e275aa0f1cc13286b5d24b7543b4646420af8 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 2 Sep 2016 14:24:43 +0200 Subject: [PATCH] Unselect modified component before replacing by the FP editor. --- pcbnew/modedit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/modedit.cpp b/pcbnew/modedit.cpp index de8191cde3..c4db2911f8 100644 --- a/pcbnew/modedit.cpp +++ b/pcbnew/modedit.cpp @@ -437,6 +437,7 @@ void FOOTPRINT_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event ) } m_toolManager->RunAction( COMMON_ACTIONS::selectionClear, true ); + pcbframe->GetToolManager()->RunAction( COMMON_ACTIONS::selectionClear, true ); BOARD_COMMIT commit( pcbframe ); // Create the "new" module