Recalculate ratsnest on canvas switch.

This commit is contained in:
Maciej Suminski 2015-09-01 10:50:59 +02:00
parent 5fe527242f
commit 330b253018
1 changed files with 5 additions and 0 deletions

View File

@ -663,6 +663,11 @@ void PCB_EDIT_FRAME::UseGalCanvas( bool aEnable )
{
PCB_BASE_EDIT_FRAME::UseGalCanvas( aEnable );
if( aEnable && GetBoard() )
GetBoard()->GetRatsnest()->ProcessBoard();
else
Compile_Ratsnest( NULL, true );
enableGALSpecificMenus();
}