Update GAL ratsnest on canvas switch.
This commit is contained in:
parent
f5c47a191b
commit
be785d554b
|
@ -702,6 +702,8 @@ void PCB_EDIT_FRAME::SwitchCanvas( wxCommandEvent& aEvent )
|
||||||
|
|
||||||
if( !use_gal )
|
if( !use_gal )
|
||||||
Compile_Ratsnest( NULL, true );
|
Compile_Ratsnest( NULL, true );
|
||||||
|
else
|
||||||
|
GetBoard()->GetRatsnest()->ProcessBoard();
|
||||||
|
|
||||||
UseGalCanvas( use_gal );
|
UseGalCanvas( use_gal );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue