Update GAL ratsnest on canvas switch.

This commit is contained in:
Tomasz Wlostowski 2015-04-02 22:45:19 +02:00 committed by Maciej Suminski
parent f5c47a191b
commit be785d554b
1 changed files with 2 additions and 0 deletions

View File

@ -702,6 +702,8 @@ void PCB_EDIT_FRAME::SwitchCanvas( wxCommandEvent& aEvent )
if( !use_gal )
Compile_Ratsnest( NULL, true );
else
GetBoard()->GetRatsnest()->ProcessBoard();
UseGalCanvas( use_gal );
}