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