Fix incorrect init of m_cbKicadUpdate only noticeable when KICAD_UPDATE_CHECK is ON

This commit is contained in:
jean-pierre charras 2024-01-10 17:23:42 +01:00
parent e55ec85e19
commit 6c5b116f3b
1 changed files with 0 additions and 2 deletions

View File

@ -50,9 +50,7 @@ bool PANEL_PACKAGES_AND_UPDATES::TransferDataToWindow()
SETTINGS_MANAGER& mgr = Pgm().GetSettingsManager();
KICAD_SETTINGS* settings = mgr.GetAppSettings<KICAD_SETTINGS>();
#ifndef KICAD_UPDATE_CHECK
m_cbKicadUpdate->SetValue( settings->m_KiCadUpdateCheck );
#endif
m_cbPcmUpdate->SetValue( settings->m_PcmUpdateCheck );
m_libAutoAdd->SetValue( settings->m_PcmLibAutoAdd );
m_libAutoRemove->SetValue( settings->m_PcmLibAutoRemove );