delete hierarhical pin sheet bug

This commit is contained in:
dickelbeck 2008-04-22 17:22:08 +00:00
parent 38a08f1ffc
commit f1ead64a7f
1 changed files with 2 additions and 2 deletions

View File

@ -445,12 +445,12 @@ void WinEDA_SchematicFrame::DeleteSheetLabel( wxDC* DC,
else
parent->m_Label = label->Next();
delete SheetLabelToDel;
break;
}
}
delete SheetLabelToDel;
#if 0 && defined(DEBUG)
std::cout << "\n\nafter deleting:\n" << std::flush;
parent->Show( 0, std::cout );