delete hierarhical pin sheet bug
This commit is contained in:
parent
38a08f1ffc
commit
f1ead64a7f
|
@ -445,12 +445,12 @@ void WinEDA_SchematicFrame::DeleteSheetLabel( wxDC* DC,
|
||||||
else
|
else
|
||||||
parent->m_Label = label->Next();
|
parent->m_Label = label->Next();
|
||||||
|
|
||||||
|
delete SheetLabelToDel;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delete SheetLabelToDel;
|
|
||||||
|
|
||||||
#if 0 && defined(DEBUG)
|
#if 0 && defined(DEBUG)
|
||||||
std::cout << "\n\nafter deleting:\n" << std::flush;
|
std::cout << "\n\nafter deleting:\n" << std::flush;
|
||||||
parent->Show( 0, std::cout );
|
parent->Show( 0, std::cout );
|
||||||
|
|
Loading…
Reference in New Issue