eeschema: iref: use GetParentLabel instead of GetParent
This commit is contained in:
parent
5e0baa2c4a
commit
fc93a04751
|
@ -723,7 +723,7 @@ void SCH_MOVE_TOOL::moveItem( EDA_ITEM* aItem, const VECTOR2I& aDelta )
|
|||
|
||||
int style = iref->GetParentLabel()->GetLabelSpinStyle();
|
||||
|
||||
if( iref->GetParent()->IsSelected() )
|
||||
if( iref->GetParentLabel()->IsSelected() )
|
||||
break;
|
||||
|
||||
if( ( style == LABEL_SPIN_STYLE::RIGHT ) || ( style == LABEL_SPIN_STYLE::LEFT ) )
|
||||
|
|
Loading…
Reference in New Issue