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:
jean-pierre charras 2019-10-02 18:30:36 +02:00
parent 78af1daa2e
commit 078045f73b
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,8 @@ GERBVIEW_FRAME::GERBVIEW_FRAME( KIWAY* aKiway, wxWindow* aParent ):
m_canvas->Refresh();
}
m_canvasType = GetGalCanvas()->GetBackend();
// Enable the axes to match legacy draw style
auto& galOptions = GetGalDisplayOptions();
galOptions.m_axesEnabled = true;