Fix bug: Cross-probing of pins to pads selects entire footprint instead of desired pad.
Fixes #3791 https://gitlab.com/kicad/code/kicad/issues/3791
This commit is contained in:
parent
974f84a5a6
commit
dd46a918a8
|
@ -167,8 +167,12 @@ void PCB_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
|
|||
|
||||
if( module )
|
||||
{
|
||||
m_toolManager->RunAction( PCB_ACTIONS::highlightItem, true, (void*) module );
|
||||
bbox = module->GetBoundingBox();
|
||||
|
||||
if( pad )
|
||||
m_toolManager->RunAction( PCB_ACTIONS::highlightItem, true, (void*) pad );
|
||||
else
|
||||
m_toolManager->RunAction( PCB_ACTIONS::highlightItem, true, (void*) module );
|
||||
}
|
||||
else if( netcode > 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue