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
78af1daa2e
commit
078045f73b
|
@ -226,6 +226,8 @@ GERBVIEW_FRAME::GERBVIEW_FRAME( KIWAY* aKiway, wxWindow* aParent ):
|
||||||
m_canvas->Refresh();
|
m_canvas->Refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_canvasType = GetGalCanvas()->GetBackend();
|
||||||
|
|
||||||
// Enable the axes to match legacy draw style
|
// Enable the axes to match legacy draw style
|
||||||
auto& galOptions = GetGalDisplayOptions();
|
auto& galOptions = GetGalDisplayOptions();
|
||||||
galOptions.m_axesEnabled = true;
|
galOptions.m_axesEnabled = true;
|
||||||
|
|
Loading…
Reference in New Issue