Commit 1a063f6a authored by diemer's avatar diemer

cleanup

parent c819ab3b
......@@ -712,15 +712,17 @@ void WinEDA_SchematicFrame::Process_Special_Functions( wxCommandEvent& event )
break;
case ID_SCHEMATIC_UNDO:
if( GetSchematicFromUndoList() ){
TestDanglingEnds( GetScreen()->EEDrawList, &dc );
if( GetSchematicFromUndoList() )
{
TestDanglingEnds( GetScreen()->EEDrawList, NULL );
DrawPanel->Refresh( TRUE );
}
break;
case ID_SCHEMATIC_REDO:
if( GetSchematicFromRedoList() ){
TestDanglingEnds( GetScreen()->EEDrawList, &dc );
if( GetSchematicFromRedoList() )
{
TestDanglingEnds( GetScreen()->EEDrawList, NULL );
DrawPanel->Refresh( TRUE );
}
break;
......
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