eechema: add junction if needed when component is placed
Fixes: lp:1849376 * https://bugs.launchpad.net/kicad/+bug/1849376
This commit is contained in:
parent
ac09c9c9d4
commit
a5f8340654
|
@ -191,6 +191,9 @@ int SCH_DRAWING_TOOLS::PlaceComponent( const TOOL_EVENT& aEvent )
|
|||
m_view->ClearPreview();
|
||||
m_frame->AddItemToScreenAndUndoList( component );
|
||||
|
||||
m_toolMgr->RunAction( EE_ACTIONS::addNeededJunctions, true, component );
|
||||
m_frame->OnModify();
|
||||
|
||||
if( m_frame->GetUseAllUnits() || m_frame->GetRepeatComponent() )
|
||||
{
|
||||
int new_unit = component->GetUnit();
|
||||
|
|
Loading…
Reference in New Issue