From ed3ec0aa102887f25c267b09b5a97f413ea35ba9 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 24 Apr 2020 23:12:06 +0100 Subject: [PATCH] Make sure marker pos gets set in constructor. --- pcbnew/class_marker_pcb.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/class_marker_pcb.cpp b/pcbnew/class_marker_pcb.cpp index aa5cf1d592..dc643f71b4 100644 --- a/pcbnew/class_marker_pcb.cpp +++ b/pcbnew/class_marker_pcb.cpp @@ -50,6 +50,8 @@ MARKER_PCB::MARKER_PCB( DRC_ITEM* aItem, const wxPoint& aPosition ) : { if( m_rcItem ) m_rcItem->SetParent( this ); + + m_Pos = aPosition; }