7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 19:39:17 +00:00

Do not persist canvas type fallback due to OpenGL failure

If the user wants to always use fallback,
they can set this option explicitly
This commit is contained in:
Jon Evans 2025-02-23 12:50:43 -05:00
parent 89a5fadcdc
commit 0e8934f887

View File

@ -176,7 +176,8 @@ EDA_DRAW_FRAME::EDA_DRAW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrame
EDA_DRAW_FRAME::~EDA_DRAW_FRAME()
{
saveCanvasTypeSetting( m_canvasType );
if( !m_openGLFailureOccured )
saveCanvasTypeSetting( m_canvasType );
delete m_actions;
delete m_toolManager;