Fix one click dialog footprint spreading picking up extra footprints.
This commit is contained in:
parent
1c19699a7c
commit
d66cc0fedc
|
@ -110,12 +110,15 @@ void DIALOG_UPDATE_PCB::PerformUpdate( bool aDryRun )
|
|||
{
|
||||
m_frame->SpreadFootprints( &newFootprints, false, false );
|
||||
|
||||
if( !newFootprints.empty() )
|
||||
{
|
||||
BOOST_FOREACH( MODULE* footprint, newFootprints )
|
||||
{
|
||||
toolManager->RunAction( COMMON_ACTIONS::selectItem, true, footprint );
|
||||
}
|
||||
toolManager->InvokeTool( "pcbnew.InteractiveEdit" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
m_btnPerformUpdate->Enable( false );
|
||||
|
|
Loading…
Reference in New Issue