diff --git a/pcbnew/router/pns_line_placer.cpp b/pcbnew/router/pns_line_placer.cpp index 8c86572960..f51f13fb79 100644 --- a/pcbnew/router/pns_line_placer.cpp +++ b/pcbnew/router/pns_line_placer.cpp @@ -84,6 +84,9 @@ bool PNS_LINE_PLACER::ToggleVia( bool aEnabled ) { m_placingVia = aEnabled; + if( !aEnabled ) + m_head.RemoveVia(); + if( !m_idle ) Move( m_currentEnd, NULL );