cleanup
This commit is contained in:
parent
c819ab3bde
commit
1a063f6a78
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue