Recalculate ratsnest on canvas switch.
This commit is contained in:
parent
5fe527242f
commit
330b253018
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue