Fixed fatal assert on track removal.
This commit is contained in:
parent
94ad141570
commit
8c80f0b4dd
|
@ -137,11 +137,9 @@ void PCB_EDIT_FRAME::ReadPcbNetlist( const wxString& aNetlistFileName,
|
|||
RemoveMisConnectedTracks();
|
||||
}
|
||||
|
||||
Compile_Ratsnest( NULL, true );
|
||||
|
||||
// Rebuild the board connectivity:
|
||||
if( IsGalCanvasActive() )
|
||||
board->GetRatsnest()->ProcessBoard();
|
||||
Compile_Ratsnest( NULL, true );
|
||||
board->GetRatsnest()->ProcessBoard();
|
||||
|
||||
SetMsgPanel( board );
|
||||
m_canvas->Refresh();
|
||||
|
|
Loading…
Reference in New Issue