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