This commit is contained in:
diemer 2008-04-02 07:08:09 +00:00
parent c819ab3bde
commit 1a063f6a78
1 changed files with 6 additions and 4 deletions

View File

@ -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;