Fixed crashes related to ratsnest on canvas change.

This commit is contained in:
Maciej Suminski 2014-04-04 13:03:41 +02:00
parent 14687a45a7
commit 8b8e8d8f7f
1 changed files with 1 additions and 0 deletions

View File

@ -692,6 +692,7 @@ void PCB_EDIT_FRAME::SwitchCanvas( wxCommandEvent& aEvent )
switch( id )
{
case ID_MENU_CANVAS_DEFAULT:
Compile_Ratsnest( NULL, true );
UseGalCanvas( false );
break;