Fixed crashes related to ratsnest on canvas change.
This commit is contained in:
parent
14687a45a7
commit
8b8e8d8f7f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue