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; break;
case ID_SCHEMATIC_UNDO: case ID_SCHEMATIC_UNDO:
if( GetSchematicFromUndoList() ){ if( GetSchematicFromUndoList() )
TestDanglingEnds( GetScreen()->EEDrawList, &dc ); {
TestDanglingEnds( GetScreen()->EEDrawList, NULL );
DrawPanel->Refresh( TRUE ); DrawPanel->Refresh( TRUE );
} }
break; break;
case ID_SCHEMATIC_REDO: case ID_SCHEMATIC_REDO:
if( GetSchematicFromRedoList() ){ if( GetSchematicFromRedoList() )
TestDanglingEnds( GetScreen()->EEDrawList, &dc ); {
TestDanglingEnds( GetScreen()->EEDrawList, NULL );
DrawPanel->Refresh( TRUE ); DrawPanel->Refresh( TRUE );
} }
break; break;