Fix crash on Specctra import.
Fixes https://gitlab.com/kicad/code/kicad/issues/12583
This commit is contained in:
parent
22917860ef
commit
2741d0eb4b
|
@ -81,11 +81,11 @@ bool PCB_EDIT_FRAME::ImportSpecctraSession( const wxString& fullFileName )
|
|||
return false;
|
||||
}
|
||||
|
||||
OnModify();
|
||||
|
||||
GetBoard()->GetConnectivity()->Clear();
|
||||
GetBoard()->BuildConnectivity();
|
||||
|
||||
OnModify();
|
||||
|
||||
if( GetCanvas() ) // Update view:
|
||||
{
|
||||
// Update footprint positions
|
||||
|
|
Loading…
Reference in New Issue