Update pin selection flags from SCH_SYMBOL::UpdatePins().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16281
This commit is contained in:
Jeff Young 2023-12-09 16:41:24 +00:00
parent a161829f86
commit 88760f5c0e
1 changed files with 8 additions and 0 deletions

View File

@ -436,6 +436,14 @@ void SCH_SYMBOL::UpdatePins()
++it1;
}
}
// If the symbol is selected, then its pins are selected.
if( IsSelected() )
{
for( std::unique_ptr<SCH_PIN>& pin : m_pins )
pin->SetSelected();
}
}