Make sure marker pos gets set in constructor.

This commit is contained in:
Jeff Young 2020-04-24 23:12:06 +01:00
parent fd6dffe170
commit ed3ec0aa10
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ MARKER_PCB::MARKER_PCB( DRC_ITEM* aItem, const wxPoint& aPosition ) :
{
if( m_rcItem )
m_rcItem->SetParent( this );
m_Pos = aPosition;
}