eeschema: Fixed setting unit condition in the component properties dialog
This commit is contained in:
parent
e57435c0fc
commit
862fb430e7
|
@ -391,7 +391,7 @@ void DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::copyPanelToOptions()
|
|||
}
|
||||
|
||||
//Set the part selection in multiple part per package
|
||||
if( m_cmp->GetUnit() )
|
||||
if( m_cmp->GetUnitCount() > 1 )
|
||||
{
|
||||
int unit_selection = unitChoice->GetCurrentSelection() + 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue