Make sure marker pos gets set in constructor.
This commit is contained in:
parent
fd6dffe170
commit
ed3ec0aa10
|
@ -50,6 +50,8 @@ MARKER_PCB::MARKER_PCB( DRC_ITEM* aItem, const wxPoint& aPosition ) :
|
|||
{
|
||||
if( m_rcItem )
|
||||
m_rcItem->SetParent( this );
|
||||
|
||||
m_Pos = aPosition;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue