Gerbview: fix incorrect canvas type saving after closing Gerbview.
Was due to the fact the canvas type was now saved into m_canvasType when opening Gerbview.
This commit is contained in:
parent
ac2373ae16
commit
c3175b45af
|
@ -201,8 +201,7 @@ GERBVIEW_FRAME::GERBVIEW_FRAME( KIWAY* aKiway, wxWindow* aParent ):
|
|||
SaveSettings( config() );
|
||||
}
|
||||
|
||||
GetCanvas()->SwitchBackend( canvasType );
|
||||
ActivateGalCanvas();
|
||||
SwitchCanvas( canvasType );
|
||||
|
||||
// Enable the axes to match legacy draw style
|
||||
auto& galOptions = GetGalDisplayOptions();
|
||||
|
|
Loading…
Reference in New Issue