FOOTPRINT_VIEWER_FRAME: minor fix: initialize m_canvasType to the value actually used.
This commit is contained in:
parent
c0b4e10f87
commit
5cf21789e9
|
@ -189,8 +189,9 @@ FOOTPRINT_VIEWER_FRAME::FOOTPRINT_VIEWER_FRAME( KIWAY* aKiway, wxWindow* aParent
|
|||
GetScreen()->SetGrid( ID_POPUP_GRID_LEVEL_1000 + m_LastGridSizeId );
|
||||
|
||||
// Create GAL canvas
|
||||
m_canvasType = LoadCanvasTypeSetting();
|
||||
auto drawPanel = new PCB_DRAW_PANEL_GAL( this, -1, wxPoint( 0, 0 ), m_FrameSize,
|
||||
GetGalDisplayOptions(), LoadCanvasTypeSetting() );
|
||||
GetGalDisplayOptions(), m_canvasType );
|
||||
SetCanvas( drawPanel );
|
||||
|
||||
// Create the manager and dispatcher & route draw panel events to the dispatcher
|
||||
|
|
Loading…
Reference in New Issue