diff --git a/pcbnew/dragsegm.cpp b/pcbnew/dragsegm.cpp index 8f0db41f27..261a77f47c 100644 --- a/pcbnew/dragsegm.cpp +++ b/pcbnew/dragsegm.cpp @@ -241,6 +241,7 @@ void EraseDragListe() for( ; pt_drag != NULL; pt_drag = NextStruct ) { NextStruct = pt_drag->Pnext; + pt_drag->m_Segm->m_Flags = 0; delete pt_drag; }