Browse Source

FOOTPRINT_WIZARD_FRAME: Use the drawing engine selected in Preferences.

The FOOTPRINT_WIZARD_FRAME canvas used previously the Cairo engine,
regardless the drawing engine selected for all other canvases. It uses now
the selected engine.
master
jean-pierre charras 1 month ago
parent
commit
58f4ca7ed6
  1. 4
      pcbnew/footprint_wizard_frame.cpp

4
pcbnew/footprint_wizard_frame.cpp

@ -202,7 +202,11 @@ FOOTPRINT_WIZARD_FRAME::FOOTPRINT_WIZARD_FRAME( KIWAY* aKiway, wxWindow* aParent
galOpts.m_forceDisplayCursor = true;
galOpts.m_axesEnabled = true;
// Switch to the canvas type set in config
resolveCanvasType();
GetCanvas()->SwitchBackend( m_canvasType );
ActivateGalCanvas();
updateView();
SetActiveLayer( F_Cu );

Loading…
Cancel
Save