Commit f1ead64a authored by dickelbeck's avatar dickelbeck

delete hierarhical pin sheet bug

parent 38a08f1f
...@@ -445,12 +445,12 @@ void WinEDA_SchematicFrame::DeleteSheetLabel( wxDC* DC, ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment